Financial instruments - Gain (losses) on derivative and non-derivative financial instruments recorded in accumulated other comprehensive (loss) (Details) - Designated as Hedging Instrument - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
Cross-currency swap contracts | ||||
Derivative Instruments, Gain (Loss) [Line Items] | ||||
Derivative and non derivative instruments gain (loss) recognized in accumulated other comprehensive income (loss) | $ (3,833) | $ 5,700 | $ 6,551 | $ 7,619 |
Foreign denominated debt | ||||
Derivative Instruments, Gain (Loss) [Line Items] | ||||
Derivative and non derivative instruments gain (loss) recognized in accumulated other comprehensive income (loss) | $ (16,600) | $ 7,144 | $ 8,324 | $ 11,271 |