v3.26.1
Share-Based Compensation - Additional Information (Details)
shares in Thousands, $ in Thousands
1 Months Ended 6 Months Ended
Jun. 30, 2026
shares
Jun. 30, 2026
USD ($)
item
shares
Jun. 30, 2025
USD ($)
Share-Based Compensation      
Share-based compensation | $   $ 7,054 $ 7,117
Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense      
Share-Based Compensation      
Share-based compensation | $   1,727 1,699
Location, Statement of Income, Balance [Axis]: us-gaap:MarketingExpense      
Share-Based Compensation      
Share-based compensation | $   153 132
Location, Statement of Income, Balance [Axis]: lope:CounselingServicesAndSupport      
Share-Based Compensation      
Share-based compensation | $   3,868 3,834
Location, Statement of Income, Balance [Axis]: lope:TechnologyAndAcademicServices      
Share-Based Compensation      
Share-based compensation | $   $ 1,306 $ 1,452
2017 Plan      
Share-Based Compensation      
Shares available for grant | shares 1,497 1,497  
Restricted Stock Grants      
Share-Based Compensation      
Shares granted | shares   87  
Shares withheld for taxes | shares   47  
Common stock in lieu of taxes | $   $ 7,521  
Shares vested | shares   123  
Restricted Stock Grants | Share-based payment arrangement, employee      
Share-Based Compensation      
Shares granted | shares   85  
Vesting period   5 years  
Number of anniversaries of the vesting date following the date of grant | item   4  
Restricted Stock Grants | Share-based payment arrangement, nonemployee      
Share-Based Compensation      
Shares granted | shares 2    
Vesting period 1 year    
Restricted Stock Grants | Share-based Compensation Award, Tranche One | Share-based payment arrangement, employee      
Share-Based Compensation      
Vesting right percentage   20.00%  
Restricted Stock Grants | Share-based Compensation Award, Tranche Two | Share-based payment arrangement, employee      
Share-Based Compensation      
Vesting right percentage   20.00%  
Restricted Stock Grants | Share-based Compensation Award, Tranche Three | Share-based payment arrangement, employee      
Share-Based Compensation      
Vesting right percentage   20.00%  
Restricted Stock Grants | Share-based Compensation Award Tranche Four | Share-based payment arrangement, employee      
Share-Based Compensation      
Vesting right percentage   20.00%  
Restricted Stock Grants | Share-based Compensation Award Tranche Five | Share-based payment arrangement, employee      
Share-Based Compensation      
Vesting right percentage   20.00%