v3.26.1
Summary of Significant Accounting Policies - Capitalized Software-as-a-Service Costs (Details) - USD ($)
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Property and equipment, net      
Capitalized software, net $ 95,002,000 $ 75,314,000  
Capitalized software written down 0 0 $ 0
Capitalized computer software as service      
Property and equipment, net      
Capitalized software written down 0 0 0
Capitalized computer software as service | Instructional costs and services      
Property and equipment, net      
Amortization expense 13,800,000 3,400,000 0
Capitalized computer software as service | Selling, general and administrative expenses      
Property and equipment, net      
Amortization expense 17,300,000 16,000,000 $ 15,800,000
Capitalized computer software as service | Prepaid expenses      
Property and equipment, net      
Capitalized software, net 18,000,000 17,500,000  
Capitalized computer software as service | Deposits and other assets      
Property and equipment, net      
Capitalized software, net $ 28,100,000 $ 43,300,000  
Minimum | Capitalized computer software as service      
Property and equipment, net      
Capitalized software as service useful life 3 years    
Maximum | Capitalized computer software as service      
Property and equipment, net      
Capitalized software as service useful life 5 years