v3.26.3
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Cash and Cash Equivalents [Line Items]      
Short-term restricted cash $ 12,911 $ 11,061 $ 1,383
Long-term restricted cash 31,020 33,206 $ 9,564
Total restricted cash 43,931 $ 44,267  
Certificates of Deposit | Trinidad Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash 28,500    
Certificates of Deposit | US Dollars      
Cash and Cash Equivalents [Line Items]      
Total restricted cash $ 7,100