v3.26.1
REVENUES - Schedule of Incremental Costs of Obtaining a Contract with a Customer (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Capitalized Contract Cost [Roll Forward]      
Capitalized costs to obtain a contract, beginning balance $ 129,026 $ 109,488 $ 97,207
New capitalized costs incurred 80,652 60,165 60,507
Amortization of capitalized costs (50,906) (43,129) (44,016)
Impact of foreign exchange rate changes (953) 2,502 (246)
Divestiture of business (1,101)   (3,964)
Capitalized costs to obtain a contract, ending balance $ 156,718 $ 129,026 $ 109,488