Schedule II - Valuation and Qualifying Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Aug. 31, 2019 |
Aug. 31, 2018 |
Aug. 31, 2017 |
|
Allowance for doubtful accounts | |||
Valuation And Qualifying Accounts Disclosure [Line Items] | |||
Balance at Beginning of Period | $ 2,586 | $ 2,280 | $ 2,315 |
Charges to Cost and Expenses | 74 | 323 | 126 |
Deductions | (1,091) | (17) | (161) |
Balance at End of Period | 1,569 | 2,586 | 2,280 |
Deferred tax valuation allowance | |||
Valuation And Qualifying Accounts Disclosure [Line Items] | |||
Balance at Beginning of Period | 16,484 | 67,348 | 83,891 |
Charges to Cost and Expenses | 472 | 0 | 690 |
Deductions | (520) | (50,864) | (17,233) |
Balance at End of Period | $ 16,436 | $ 16,484 | $ 67,348 |