Derivative financial instruments - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||||
|---|---|---|---|---|---|---|---|
Sep. 04, 2024 |
Apr. 30, 2025 |
Apr. 30, 2024 |
Apr. 30, 2025 |
Apr. 30, 2024 |
Oct. 31, 2024 |
Sep. 09, 2024 |
|
| Derivative [Line Items] | |||||||
| Maturity of foreign currency forward contracts | 90 days | ||||||
| Gains (losses) on foreign currency forward contracts | $ 22,315 | $ (6,423) | $ 17,951 | $ 5,671 | |||
| Change in unrealized gain (loss) on foreign currency derivative instruments | (25,513) | $ 5,298 | (20,819) | $ (7,618) | |||
| Derivative, Gain (Loss) on Derivative, Net | $ (28) | $ (72) | |||||
| Due 2029 | |||||||
| Derivative [Line Items] | |||||||
| Treasury Lock | $ 250,000 | ||||||
| Public Bond Offering | $ 600,000 | $ 600,000 | |||||
| Treasury Lock Cash Settlement | $ 2,306 | ||||||