v3.26.1
Financial Instruments - Schedule of Cash and Cash Equivalents and Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
May 31, 2026
Aug. 31, 2025
May 31, 2025
Aug. 31, 2024
Investments, All Other Investments [Abstract]        
Cash and cash equivalents $ 155,020 $ 136,504 $ 203,497  
Restricted cash and cash equivalents 2,973 36,497 39,928  
Total cash and restricted cash $ 157,993 [1] $ 173,001 [1] $ 243,425 $ 356,170
[1] Cash and cash equivalents includes restricted cash and cash equivalents.