v3.26.1
INCOME TAXES - Reconciliation of Beginning and Ending Balances of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Unrecognized benefit—beginning of year $ 34,740 $ 33,049
Gross increases—current year tax positions 0 7,023
Gross decreases—prior year tax positions due to statute lapse (3,256) (5,332)
Unrecognized benefit—end of year $ 31,484 $ 34,740