Financial instruments - Gain (losses) on derivative financial instruments recorded in consolidated statement if income (Details) - USD ($) $ in Thousands |
3 Months Ended | |
---|---|---|
Sep. 30, 2023 |
Sep. 30, 2022 |
|
Deal-contingent forward contracts | ||
Derivative [Line Items] | ||
Gains (loss) on derivative financial instruments | $ 0 | $ (389,992) |
Forward exchange contracts | ||
Derivative [Line Items] | ||
Gains (loss) on derivative financial instruments | 436 | (1,364) |
Costless collar contracts | ||
Derivative [Line Items] | ||
Gains (loss) on derivative financial instruments | 0 | 5,389 |
Cross-currency swap contracts | ||
Derivative [Line Items] | ||
Gains (loss) on derivative financial instruments | $ 0 | $ 4,659 |