v3.26.1
Significant accounting policies - Additional Information (Detail) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Significant Accounting Policies [Line Items]        
Less than 50% Ownership Percentage, Accounted for under the Equity Method of Investment 50.00%   50.00%  
Corporate Performance Measurement Period 3 years      
Stock Options        
Significant Accounting Policies [Line Items]        
Options for common shares excluded from computation of diluted earning per share (in shares) 0 190 24 240