INCOME TAXES - Schedule of Reconciliation of Unrecognized Tax Benefits Excluding Accrued Amounts for Interest and Penalties (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Reconciliation of the beginning and ending amount of unrecognized tax benefits | ||
| Balance at beginning of period | $ 6,853 | $ 6,861 |
| Additions based on tax positions related to the current year | 321 | 348 |
| Additions for tax positions of prior years | 6,882 | 0 |
| Reductions for tax positions of prior years | (679) | (356) |
| Balance at end of period | $ 13,377 | $ 6,853 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|