Annual report pursuant to Section 13 and 15(d)

Income Taxes - Additional Information (Details)

v3.22.2.2
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Income Tax Disclosure Additional Details [Table] [Line Items]        
Unrecognized Tax Benefits, Income Tax Penalties and Interest Expense $ 4,500 $ 3,900 $ 4,500  
Unrecognized Tax Benefits, Period Increase (Decrease), Reasonably Possible in Future Period $ (2,200)      
Federal statutory rate 21.00% 21.00% 21.00%  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Additions, Charge to Cost and Expense $ 900 $ 4,900 $ 9,400  
Impairment, Non-Deductible for Income Tax Purposes 1,300 3,500 300  
Effective Income Tax Rate Reconciliation, Tax Credit, Foreign, Amount 2,300 4,600 4,000  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Deduction 5,500 9,100 12,300  
Net Benefit, Taxable Liquidations of Foreign Subsidiaries (2,700)   4,100  
Operating Loss Carryforward 72,700      
Income taxes, net of refunds 5,700 7,800 13,200  
Deferred Tax Assets, Operating Loss Carryforwards, Foreign 93,400      
Additional Income Tax Provision 3,500      
Non-Cash Impairment charges - domestic earnings 1,300 4,700 (2,600)  
Non-Cash Impairment charges - foreign earnings 1,100 1,500 (600)  
Impairment and divestiture (benefit) charges 2,413 6,198 (3,159) $ (3,200)
Deferred income taxes [Member]        
Income Tax Disclosure Additional Details [Table] [Line Items]        
Deferred Income Tax Liabilities, Net 7,300 4,400    
Other Noncurrent Assets [Member]        
Income Tax Disclosure Additional Details [Table] [Line Items]        
Deferred Income Tax Assets, Net 17,900 14,800    
Valuation Allowance of Deferred Tax Assets        
Income Tax Disclosure Additional Details [Table] [Line Items]        
SEC Schedule, 12-09, Valuation Allowances and Reserves, Additions, Charge to Cost and Expense 925 4,886 9,383  
SEC Schedule, 12-09, Valuation Allowances and Reserves, Deduction $ 5,450 $ 9,145 $ 12,337