REVENUES - Schedule of Incremental Costs of Obtaining a Contract with a Customer (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Capitalized Contract Cost [Roll Forward] | |||
| Capitalized costs to obtain a contract, beginning balance | $ 109,488 | $ 97,207 | $ 82,562 |
| New capitalized costs incurred | 60,165 | 60,507 | 47,305 |
| Amortization of capitalized costs | (43,129) | (44,016) | (33,269) |
| Impact of foreign exchange rate changes | 2,502 | (246) | 609 |
| Divestiture of AMC business | (3,964) | ||
| Capitalized costs to obtain a contract, ending balance | $ 129,026 | $ 109,488 | $ 97,207 |