v3.26.1
CREDIT FACILITY AND OTHER LONG-TERM DEBT - Schedule of Components of Outstanding Debt (Details) - USD ($)
$ in Thousands
Mar. 31, 2026
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2016
Debt Instrument [Line Items]        
Total principal payments due $ 1,200,000   $ 600,000  
Total amount outstanding 1,190,444   595,125  
Current portion of long-term debt:        
Current portion of long-term debt 600,000      
Total current portion of long-term debt 599,835   0  
Non-current portion of long-term debt 590,609   595,125  
Credit Facility        
Debt Instrument [Line Items]        
Total principal payments due 200,000   0  
Unamortized debt issuance costs (4,435)   (3,917)  
3.25% Senior Notes | Senior Notes        
Debt Instrument [Line Items]        
Total principal payments due 600,000   600,000  
Unamortized debt discount on Senior Notes due 2026 (53)   (307)  
Unamortized debt issuance costs (112)   (651) $ (5,400)
Current portion of long-term debt:        
Current portion of long-term debt     0  
Unamortized debt discount on Senior Notes due 2026 (53)   0  
Unamortized debt issuance costs - Senior Notes due 2026 $ (112)   0  
Stated interest rate, percentage 3.25%     3.25%
7.25% Senior Notes | Senior Notes        
Debt Instrument [Line Items]        
Total principal payments due $ 400,000   0  
Unamortized debt issuance costs $ (4,956) $ (5,800) $ 0  
Current portion of long-term debt:        
Stated interest rate, percentage 7.25% 7.25%