v3.26.1
DEBT - Narrative (Details) - USD ($)
12 Months Ended
May 07, 2026
Mar. 30, 2021
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Mar. 30, 2026
Debt Instrument [Line Items]            
Amortization of debt issuance costs     $ 1,016,000 $ 2,022,000 $ 1,725,000  
Revolving Credit Facility            
Debt Instrument [Line Items]            
Principal payment     0 205,000,000 215,000,000  
Revolving Credit Facility | Applicable Interest Rate            
Debt Instrument [Line Items]            
Debt basis spread over applicable interest rate (in percentage) 2.00%          
Revolving Credit Facility | Amended And Restated Credit Agreement            
Debt Instrument [Line Items]            
Revolving credit facility   $ 700,000,000        
Long-term line of credit           $ 0
Payments of the revolving facility     0      
Debt issuance costs     900,000      
Amortization of debt issuance costs     1,000,000.0 2,000,000.0    
Revolving Credit Facility | 2026 Revolving Facility            
Debt Instrument [Line Items]            
Revolving credit facility $ 250,000,000          
Payments of the revolving facility     0      
Accordion feature, increase limit $ 500,000,000          
Issuance fees per annum (in percentage) 0.125%          
Maximum leverage ratio 3.50          
Minimum consolidated interest coverage ratio 300.00%          
Minimum unrestricted domestic cash and cash equivalents balance $ 75,000,000          
Revolving Credit Facility | 2026 Revolving Facility | Minimum            
Debt Instrument [Line Items]            
Commitment fee percentage of unused borrowings (in percentage) 0.125%          
Maximum leverage ratio 2.50          
Revolving Credit Facility | 2026 Revolving Facility | Maximum            
Debt Instrument [Line Items]            
Commitment fee percentage of unused borrowings (in percentage) 0.20%          
Revolving Credit Facility | 2026 Revolving Facility | Base Rate | Minimum            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 0.25%          
Revolving Credit Facility | 2026 Revolving Facility | Base Rate | Maximum            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 1.00%          
Revolving Credit Facility | 2026 Revolving Facility | SOFR | Minimum            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 1.25%          
Revolving Credit Facility | 2026 Revolving Facility | SOFR | Maximum            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 2.00%          
Revolving Credit Facility | 2026 Revolving Facility | Overnight Bank Funding Rate            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 0.50%          
Revolving Credit Facility | 2026 Revolving Facility | Daily Simple SOFR            
Debt Instrument [Line Items]            
Debt basis spread on variable rate (in percentage) 1.00%          
Initial Term Loan | Amended And Restated Credit Agreement            
Debt Instrument [Line Items]            
Revolving credit facility   500,000,000        
Additional borrowing capacity   500,000,000        
Initial Term Loan | Term Loan            
Debt Instrument [Line Items]            
Periodic payment   $ 6,250,000        
Term Loan            
Debt Instrument [Line Items]            
Principal payment     250,000,000 $ 283,125,000 $ 157,500,000  
Term Loan | Amended And Restated Credit Agreement            
Debt Instrument [Line Items]            
Repayment of outstanding balance     255,100,000      
Principal payment     250,000,000.0      
Interest payment     $ 5,100,000      
Sublimit for Letters of Credit | 2026 Revolving Facility            
Debt Instrument [Line Items]            
Revolving credit facility $ 50,000,000.0          
Sublimit for Letters of Credit | 2026 Revolving Facility | Minimum            
Debt Instrument [Line Items]            
Commitment fee percentage of unused borrowings (in percentage) 1.25%          
Sublimit for Letters of Credit | 2026 Revolving Facility | Maximum            
Debt Instrument [Line Items]            
Commitment fee percentage of unused borrowings (in percentage) 2.00%