v3.26.1
INCOME TAXES - Changes in the balance of the valuation allowance (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Changes in the balance of the valuation allowance    
Valuation Allowance Beginning Balance $ (5,529) $ (35,608)
Change in Valuation Allowance 690 (30,079)
Valuation Allowance Beginning Balance $ (6,219) $ (5,529)