v3.26.1
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Restricted Cash (Details) - USD ($)
$ in Thousands
May 31, 2026
Aug. 31, 2025
May 31, 2025
Cash and Cash Equivalents [Line Items]      
Short-term restricted cash $ 10,355 $ 11,061 $ 3,488
Long-term restricted cash 35,824 33,206 $ 11,670
Total restricted cash 46,179 $ 44,267  
Certificates of Deposit | Trinidad and Tobago, Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash 31,000    
Certificates of Deposit | United States of America, Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash $ 7,100