v3.26.1
STOCKHOLDERS' EQUITY - Stock-based Compensation (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
STOCKHOLDERS' EQUITY      
Stock-based compensation expense $ 26,433 $ 31,959 $ 28,706
Stock Options | OSI Plans      
STOCKHOLDERS' EQUITY      
Unrecognized compensation cost $ 900    
Weighted-average period 1 year 10 months 13 days    
RSU | OSI Plans      
STOCKHOLDERS' EQUITY      
Unrecognized compensation cost $ 13,300    
Weighted-average period 2 years 2 months 12 days    
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value $ 55,000 41,300 31,100
Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold      
STOCKHOLDERS' EQUITY      
Stock-based compensation expense 1,171 1,014 930
Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense      
STOCKHOLDERS' EQUITY      
Stock-based compensation expense 668 605 621
Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense      
STOCKHOLDERS' EQUITY      
Stock-based compensation expense $ 24,594 $ 30,340 $ 27,155