v3.26.1
EARNINGS PER SHARE AND COMMON STOCK - Factors Used in Earnings Per Share Computation (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Earnings Per Share Basic [Line Items]      
Income (loss) from continuing operations $ (1,601) $ 10,715 $ 23,243
Loss from discontinued operations, net of tax (61) (3,672) (15,443)
Net income (loss) $ (1,662) $ 7,043 $ 7,800
Weighted average shares - basic 17,162,850 16,428,485 16,930,348
Weighted average outstanding shares — diluted 17,162,850 16,525,773 17,038,305
Basic income (loss) per share      
Continuing operations $ (0.09) $ 0.65 $ 1.37
Discontinued operations (0.01) (0.22) (0.91)
Net income (loss) (0.1) 0.43 0.46
Diluted income (loss) per share      
Continuing operations (0.09) 0.65 1.36
Discontinued operations (0.01) (0.22) (0.9)
Net income (loss) $ (0.1) $ 0.43 $ 0.46
Restricted stock awards      
Earnings Per Share Basic [Line Items]      
Dilutive effect of assumed restricted share awards/units 0 97,288 107,957