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