v3.25.2
Derivative Instruments and Hedging Activities - Schedule of Fair Value Hedge Gains (Losses) (Details) - Currency Swap - Fair Value Hedging - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Derivative Instruments and Hedging Activities Disclosures [Line Items]      
Gain (loss) recognized in other comprehensive income (loss) $ 1,762 $ 3,329 $ (5,414)
Gain (loss) recognized on cross-currency swap in interest (expense) income, net (amount excluded from effectiveness testing) 4,699 4,010 3,754
Gain (loss) recognized on cross-currency swap in other, net (29,822) 5,942 (14,329)
Gain (loss) recognized on intercompany debt in other, net $ 29,822 $ (5,942) $ 14,329