v3.25.2
Stock-based compensation - Summarized Activity Related to Stock Options (Detail) - Stock Options
$ / shares in Units, shares in Thousands, $ in Thousands
9 Months Ended
Jul. 31, 2025
USD ($)
$ / shares
shares
Number of Options  
Beginning balance (in shares) | shares 855
Granted (in shares) | shares 60
Exercised (in shares) | shares (52)
Forfeited or expired (in shares) | shares (10)
Ending balance (in shares) | shares 853
Expected to vest (in shares) | shares 142
Exercisable (in shares) | shares 708
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 118.73
Forfeited or expired (in dollars per share) | $ / shares 224.68
Ending balance (in dollars per share) | $ / shares 172.48
Expected to vest (in dollars per share) | $ / shares 231.38
Exercisable (in dollars per share) | $ / shares $ 160.48
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]  
Aggregate intrinsic value, outstanding | $ $ 42,388
Aggregate intrinsic value, expected to vest | $ 256
Aggregate intrinsic value, exercisable | $ $ 42,127
Weighted average remaining term, outstanding 4 years 4 months 24 days
Weighted average remaining term, expected to vest 8 years 2 months 12 days
Weighted average remaining term, exercisable 3 years 7 months 6 days