Quarterly report pursuant to Section 13 or 15(d)

Income Taxes - Additional Information (Details)

v3.8.0.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2017
Nov. 30, 2016
Income Tax Disclosure Additional Details [Table] [Line Items]    
Earnings before income taxes $ 6,830 $ 1,967
Income tax expense (benefit) $ 1,604 $ (2,998)
Effective Income Tax Rate Reconciliation, Percent 23.50% (152.40%)
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent 35.00%  
Income tax benefit related to discrete income tax adjustment   $ 2,900
Foreign Destination [Member]    
Income Tax Disclosure Additional Details [Table] [Line Items]    
Percent of Revenue (excluding impairment charge) from foreign jurisdictions 80.00% 80.00%
Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Percent (12.20%) (22.40%)