v3.26.1
CREDIT FACILITY AND OTHER LONG-TERM DEBT - Senior Notes, Capped Call Transaction and Interest Expense (Details) - Senior Notes - USD ($)
$ in Thousands
Mar. 31, 2026
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2016
3.25% Senior Notes        
Debt Instrument [Line Items]        
Stated interest rate, percentage 3.25%     3.25%
Aggregate principal       $ 600,000
Unamortized debt issuance costs $ 112   $ 651 $ 5,400
7.25% Senior Notes        
Debt Instrument [Line Items]        
Stated interest rate, percentage 7.25% 7.25%    
Aggregate principal   $ 400,000    
Unamortized debt issuance costs $ 4,956 $ 5,800 $ 0