v3.25.1
Stock-based compensation - Summarized Activity Related to Stock Options (Detail) - Stock Options
$ / shares in Units, shares in Thousands, $ in Thousands
6 Months Ended
Apr. 30, 2025
USD ($)
$ / shares
shares
Number of Options  
Beginning balance (in shares) | shares 855
Granted (in shares) | shares 60
Exercised (in shares) | shares (26)
Forfeited or expired (in shares) | shares (2)
Ending balance (in shares) | shares 887
Expected to vest (in shares) | shares 151
Exercisable (in shares) | shares 733
Weighted- Average Exercise Price  Per Share  
Beginning balance (in dollars per share) | $ / shares $ 167.26
Granted (in dollars per share) | $ / shares 209.73
Exercised (in dollars per share) | $ / shares 117.29
Forfeited or expired (in dollars per share) | $ / shares 228.67
Ending balance (in dollars per share) | $ / shares 171.40
Expected to vest (in dollars per share) | $ / shares 231.00
Exercisable (in dollars per share) | $ / shares $ 158.95
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]  
Aggregate intrinsic value, outstanding | $ $ 29,947
Aggregate intrinsic value, expected to vest | $ 5
Aggregate intrinsic value, exercisable | $ $ 29,942
Weighted average remaining term, outstanding 4 years 7 months 6 days
Weighted average remaining term, expected to vest 8 years 6 months
Weighted average remaining term, exercisable 3 years 9 months 18 days