Derivatives and Hedging Activities - Schedule of Hedges Included Cash Flow Hedges, Net Investment Hedges and Fair Value Hedges on Accumulated Other Comprehensive Income Loss (Details) - 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] | ||||
| Other comprehensive income loss cash flow hedge | $ 14,132 | $ (4,960) | $ 4,108 | $ (2,072) |
| Interest Rate Swap | ||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
| Derivatives in cash flow hedging | 6,389 | (7,725) | (978) | (2,247) |
| Cross-currency swaps | ||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
| Derivatives in net investment hedging | 6,579 | (3,979) | 3,297 | (1,663) |
| Derivatives in fair value hedging | 1,620 | (981) | 811 | (409) |
| Foreign currency forward contracts | ||||
| Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
| Derivatives in cash flow hedging | $ (456) | $ 10 | $ (456) | $ 51 |