XML 64 R54.htm IDEA: XBRL DOCUMENT v3.23.2
Stock-based compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2023
Jul. 31, 2022
Oct. 31, 2022
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) 2,012,000   2,012,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,697 $ 1,580 $ 4,982 $ 5,743  
Unrecognized compensation cost related to unvested stock option 7,013   $ 7,013    
Weighted average period expected to be amortized, non vested shares     1 year 8 months 12 days    
Weighted-average expected volatility used     30.60% 30.60%  
Weighted average grant date fair value of stock options granted (in dollars per share)     $ 77.99 $ 79.03  
Total intrinsic value of options exercised 7,741 1,052 $ 19,873 $ 10,418  
Cash received from the exercise of stock options     $ 18,449 8,845  
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 73 243 336 856  
Common share dividends amount included in compensation cost $ 2 4 $ 5 14  
Weighted average grant date fair value (in dollars per share) $ 0   $ 0   $ 167.99
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 9 months 18 days    
Unrecognized compensation cost related to nonvested restricted stock $ 10,080   $ 10,080    
Expense related to nonvested common shares $ 2,152 2,154 $ 6,658 6,246  
Weighted average grant date fair value (in dollars per share) $ 232.88   $ 232.88   $ 223,770
Performance Share Incentive Awards          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Award requisite service period     3 years    
Compensation expense $ 1,831 $ 3,555 $ 4,785 $ 10,296  
Unrecognized compensation cost $ 7,947   $ 7,947    
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) $ 231.34 $ 273.50 $ 231.34 $ 273.50  
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) 211.25 260.60 211.25 260.60  
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 $ 221.94 $ 214.51 $ 221.94  
Deferred Compensation          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common share dividends amount included in compensation cost $ 30 $ 17 $ 77 $ 53  
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 $ 76 $ 73 $ 234 $ 224