v3.25.2
Derivative financial instruments - Outstanding Currency, Forward Exchange Contracts (Details) - USD ($)
$ in Thousands
Jul. 31, 2025
Jul. 31, 2024
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts $ 855,821  
Foreign Currency Forward Contracts | Notional Sell Amounts    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 215,430 $ 165,310
Foreign Currency Forward Contracts | Notional Sell Amounts | Euro    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 162,281 124,144
Foreign Currency Forward Contracts | Notional Sell Amounts | British pound    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 19,819 17,187
Foreign Currency Forward Contracts | Notional Sell Amounts | Mexican Peso    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 3,413 50
Foreign Currency Forward Contracts | Notional Sell Amounts | Japanese yen    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 21,252 18,113
Foreign Currency Forward Contracts | Notional Sell Amounts | Hong Kong dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 1,344 0
Foreign Currency Forward Contracts | Notional Sell Amounts | Australian dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 1,100 0
Foreign Currency Forward Contracts | Notional Sell Amounts | Singapore dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 600 2,391
Foreign Currency Forward Contracts | Notional Sell Amounts | Taiwan Dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 0 0
Foreign Currency Forward Contracts | Notional Sell Amounts | Others    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 5,621 3,425
Foreign Currency Forward Contracts | Notional Sell Amounts    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 645,113 456,153
Foreign Currency Forward Contracts | Notional Sell Amounts | Euro    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 263,630 144,557
Foreign Currency Forward Contracts | Notional Sell Amounts | British pound    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 193,734 138,240
Foreign Currency Forward Contracts | Notional Sell Amounts | Mexican Peso    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 32,467 32,714
Foreign Currency Forward Contracts | Notional Sell Amounts | Japanese yen    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 31,532 26,580
Foreign Currency Forward Contracts | Notional Sell Amounts | Hong Kong dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 1,887 1,942
Foreign Currency Forward Contracts | Notional Sell Amounts | Australian dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 10,111 9,630
Foreign Currency Forward Contracts | Notional Sell Amounts | Singapore dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 27,122 22,735
Foreign Currency Forward Contracts | Notional Sell Amounts | Taiwan Dollar    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts 8,000 8,000
Foreign Currency Forward Contracts | Notional Sell Amounts | Others    
Derivative [Line Items]    
Notional Amounts of foreign currency derivative contracts $ 76,630 $ 71,755