v3.26.3
Organization, Basis of Presentation and Significant Accounting Policies - Schedule of Cash and Cash Equivalents and Restricted Cash (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Accounting Policies [Abstract]        
Cash and cash equivalents $ 263,603 $ 327,826 $ 794,865  
Restricted cash included in other current assets 123,217 71,434 78,997  
Total cash and cash equivalents and restricted cash $ 386,820 $ 399,260 $ 873,862 $ 1,844,587