v3.26.1
DEBT - Schedule of Changes in Long-Term Debt (Details) - USD ($)
$ in Thousands
9 Months Ended
May 31, 2026
May 31, 2025
Aug. 31, 2025
Debt [Roll Forward]      
Current ‎portion of ‎long-term debt $ 38,675    
Long-term debt (net of current portion) 147,922    
Total 186,597    
Proceeds from long-term debt received during the period:      
Current ‎portion of ‎long-term debt 6,347    
Long-term debt (net of current portion) 14,490    
Total 20,837 $ 5,441  
Repayments of long-term debt:      
Current ‎portion of ‎long-term debt (5,470)    
Long-term debt (net of current portion) (22,397)    
Total (27,867) $ (32,742)  
Reclassifications of long-term debt due in the next 12 months      
Current ‎portion of ‎long-term debt 25,776    
Long-term debt (net of current portion) (25,776)    
Total 0    
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Current ‎portion of ‎long-term debt 7    
Long-term debt (net of current portion) 126    
Total 133    
Current ‎portion of ‎long-term debt 65,335    
Long-term debt (net of current portion) 114,365    
Total 179,700    
Non-cash Assets      
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Collateral amount 168,800   $ 185,600
Cash Assets      
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Collateral amount 34,500   $ 26,500
Trinidad Subsidiary      
Proceeds from long-term debt received during the period:      
Current ‎portion of ‎long-term debt 6,347    
Long-term debt (net of current portion) 14,490    
Total $ 20,837