XML 75 R64.htm IDEA: XBRL DOCUMENT v3.22.2.2
Derivative financial instruments - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Derivative Instruments and Hedging Activities Disclosure [Abstract]        
Maturity of foreign currency forward contracts     90 days  
Gains (losses) on foreign currency forward contracts $ 15,181 $ (1,714) $ 2,503 $ (505)
Change in unrealized gain (loss) on foreign currency derivative instruments $ (14,436) $ 1,202 $ (394) $ (3,544)