v3.26.1
Goodwill and Intangible Assets (Additional Information) (Details)
$ in Thousands
1 Months Ended 12 Months Ended
May 31, 2026
USD ($)
segment
Jun. 30, 2026
USD ($)
segment
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Intangible Assets [Line Items]        
Amortization of intangible assets   $ 11,220 $ 11,220 $ 35,644
Number of reporting units | segment   5    
Number of reporting units qualitative assessment performed | segment 4      
RUSM        
Intangible Assets [Line Items]        
Indefinite lived intangible assets write-off $ 0      
Goodwill write-off $ 0      
Discount rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.117      
Terminal revenue growth rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.03      
RUSM trade name | Discount rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.117      
RUSM trade name | Terminal revenue growth rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.03      
RUSM trade name | Royalty rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.055      
RUSM Title IV eligibility and accreditations | Discount rate | RUSM | Level 3        
Intangible Assets [Line Items]        
Intangible assets, measurement input 0.117