Derivatives and Hedging Activities - Schedule of Pre-tax Effect of Cash Flow Hedges, Net Investment Hedges and Fair Value Hedges on the Consolidated Statements of Operations, Recorded in Interest and Other Financing Expense, Net (Details) - Reclassification out of Accumulated Other Comprehensive Income - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||||
| Interest and other financing expense, net | $ 4,434 | $ 1,860 | $ 6,305 | $ 5,590 | ||
| Cross-currency swaps | Fair Value Hedging | Accumulated Net Gain Loss From Fair Value Hedges Attributable To Parent | ||||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||||
| Interest and other financing expense, net | [1] | 2,099 | (1,028) | 1,140 | (75) | |
| Cross-currency swaps | Net Investment Hedging | ||||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||||
| Interest and other financing expense, net | 495 | 495 | 989 | 990 | ||
| Interest Rate Swap | Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member] | ||||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||||
| Interest and other financing expense, net | $ 1,840 | $ 2,393 | $ 4,176 | $ 4,675 | ||
| ||||||