v3.26.1
EARNINGS PER SHARE AND COMMON STOCK - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Jul. 24, 2023
Jun. 30, 2023
Jun. 24, 2021
Class Of Stock [Line Items]            
Stock repurchase program, number of shares authorized       $ 50,000   $ 50,000
Stock Repurchase Program Authorized Amount Existing       $ 50,000    
Repurchase of shares in cash, including related fees and expenses $ 2,337 $ 9,767 $ 16,257      
Stock repurchase program, remained available under the program $ 23,500       $ 1,600  
Common Stock            
Class Of Stock [Line Items]            
Number of shares repurchased 116,370 531,970 750,943      
Repurchase of shares in cash, including related fees and expenses $ 2,300 $ 9,500 $ 16,300