COMMITMENTS AND CONTINGENCIES - Purchase Commitments - Additional Information (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Commitments and Contingencies Disclosure [Abstract] | |||
| Purchase agreement expiration date | Jun. 30, 2030 | ||
| Purchase commitments penalties incurred | $ 0 | $ 0 | $ 0 |