v3.26.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Effects of the Cash Flow and Net Investment Hedges (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Location, Statement of Other Comprehensive Income, Balance [Axis]: us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax      
Derivatives, Fair Value [Line Items]      
Gain (loss) reclassified from AOCI into income (excluded from effectiveness testing) - net investment hedge $ 32,900 $ (73,100) $ (300)
Cash flow hedge | Derivatives designated as hedges: | Income Statement Location [Axis]: us-gaap:OperatingExpenses      
Derivatives, Fair Value [Line Items]      
Gain (loss) reclassified from AOCI into income (effective portion) - cash flow hedge (136) (3,443) (1,312)
Cash flow hedge | Derivatives designated as hedges: | Location, Statement of Other Comprehensive Income, Balance [Axis]: us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax      
Derivatives, Fair Value [Line Items]      
Gain (loss) recognized in OCI (loss) on cash flow hedge (effective portion) (5,040) (548) (3,670)
Net investment hedge | Derivatives designated as hedges: | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNonoperatingNet      
Derivatives, Fair Value [Line Items]      
Gain (loss) reclassified from AOCI into income (effective portion) - cash flow hedge 375 3,300 3,707
Gain (loss) reclassified from AOCI into income (excluded from effectiveness testing) - net investment hedge 2,244 2,244 2,244
Net investment hedge | Derivatives designated as hedges: | Location, Statement of Other Comprehensive Income, Balance [Axis]: us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax      
Derivatives, Fair Value [Line Items]      
Gain (loss) recognized in OCI (loss) on cash flow hedge (effective portion) $ 32,914 $ (73,060) $ (331)