XML 74 R64.htm IDEA: XBRL DOCUMENT v3.22.1
Derivative financial instruments - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2022
Apr. 30, 2021
Derivative Instruments and Hedging Activities Disclosure [Abstract]        
Maturity of foreign currency forward contracts     90 days  
Gains (losses) on foreign currency forward contracts $ (9,080) $ (8,133) $ (12,678) $ 1,209
Change in unrealized gain (loss) on foreign currency derivative instruments $ 10,079 $ 7,357 $ 14,041 $ (4,746)