v3.25.2
Summary of Significant Accounting Policies - Additional Information (Details)
$ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended
May 31, 2024
USD ($)
Feb. 29, 2024
USD ($)
May 31, 2025
USD ($)
Segment
May 31, 2024
USD ($)
Aug. 31, 2024
USD ($)
Significant Accounting Policies [Line Items]          
Number of operating segments | Segment     1    
Number of reportable segments | Segment     1    
Bank Overdrafts     $ 52,000   $ 59,000
Repayment of Advances with Scrap Metal     12,000 $ 9,000  
Advances to supplier     24,000   18,000
Capitalized cloud computing arrangement implementation costs     6,000   7,000
Gain on insurance receivable recognized $ 7,000 $ 6,000      
Goodwill impairment charges $ 215,941     $ 215,941  
Cash, FDIC Insured Amount     250    
Prepaid Expenses and Other Current Assets          
Significant Accounting Policies [Line Items]          
Prepaid expense     15,000   22,000
Prepaid Expenses and Other Current Assets | Certificates of Deposit          
Significant Accounting Policies [Line Items]          
Short-term investment     6,000   6,000
Other Current Assets          
Significant Accounting Policies [Line Items]          
Insurance receivable     17,000   15,000
Environmental claims insurance receivable     $ 14,000   $ 13,000