XML 64 R49.htm IDEA: XBRL DOCUMENT v3.25.3
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Cash and Cash Equivalents [Line Items]      
Short-term restricted cash $ 11,061 $ 1,383 $ 2,865
Long-term restricted cash 33,206 9,564 $ 9,353
Total restricted cash 44,267 $ 10,947  
Certificates of Deposit | Trinidad Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash 30,000    
Certificates of Deposit | US Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash $ 7,100