XML 64 R53.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Stock-based compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2024
Jul. 31, 2023
Oct. 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Maximum number of common shares authorized for grant (in shares) 900,000   900,000    
Number of common shares available for grant (in shares) 1,875,000   1,875,000    
Executive officers and other highly compensated employees salary and annual cash incentive compensation deferrals percentage, maximum     100.00%    
Executive officers share-based long-term incentive compensation deferrals percentage, maximum     90.00%    
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Option expiring period     10 years    
Normal retirement age     65 years    
Period for options considered to be forfeited for retirees     12 months    
Termination period on death or disability of option holder     12 months    
Compensation expense recognized $ 1,426 $ 1,697 $ 3,960 $ 4,982  
Unrecognized compensation cost related to unvested stock option 5,668   $ 5,668    
Weighted average period expected to be amortized, non vested shares     2 years 10 months 24 days    
Weighted-average expected volatility used     30.70% 30.60%  
Weighted average grant date fair value of stock options granted (in dollars per share)     $ 79.84 $ 77.99  
Total intrinsic value of options exercised 3,115 7,741 $ 33,286 $ 19,873  
Cash received from the exercise of stock options     $ 29,142 18,449  
Stock Options | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Maximum rate of stock option     25.00%    
Restricted Shares and Restricted Share Units | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Grant restricted shares transferred period     3 years    
Restricted Shares and Restricted Share Units | Minimum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Grant restricted shares transferred period     1 year    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Normal retirement age     65 years    
Period for restricted shares and share units considered to be forfeited for retirees     12 months    
Restricted shares termination period for disability or death     12 months    
Unrecognized compensation cost related to nonvested restricted stock 0   $ 0    
Expense related to nonvested common shares 0 73 0 336  
Common share dividends amount included in compensation cost 0 2 $ 0 5  
Restricted Stock Unit          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted average period expected to be amortized, non vested shares     1 year 10 months 24 days    
Unrecognized compensation cost related to nonvested restricted stock 10,876   $ 10,876    
Expense related to nonvested common shares $ 2,198 2,152 $ 6,658 6,658  
Weighted average grant date fair value (in dollars per share) $ 236.37   $ 236.37   $ 236,280
Performance Share Incentive Awards          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award requisite service period     3 years    
Compensation expense $ 771 $ 1,831 $ 3,637 $ 4,785  
Unrecognized compensation cost $ 8,224   $ 8,224    
Performance Share Incentive Awards | Grant Date One          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted average grant date fair value (in dollars per share) $ 229.58 $ 211.25 $ 229.58 $ 211.25  
Performance Share Incentive Awards | Grant Date Two          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted average grant date fair value (in dollars per share) $ 225.14 231.34 $ 225.14 231.34  
Performance Share Incentive Awards | Grant Date Three          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Weighted average grant date fair value (in dollars per share)   $ 214.51   $ 214.51  
Deferred Compensation          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common share dividends amount included in compensation cost $ 23 $ 30 $ 71 $ 77  
Executive officers and other highly compensated employees salary and annual cash incentive compensation deferrals percentage, maximum     100.00%    
Executive officers share-based long-term incentive compensation deferrals percentage, maximum     90.00%    
Deferred Compensation | Directors          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Expense related to director deferred compensation $ 91 $ 76 $ 226 $ 234