XML 66 R54.htm IDEA: XBRL DOCUMENT v3.8.0.1
Subsequent Event - Additional Information (Detail) - USD ($)
$ in Thousands
1 Months Ended 9 Months Ended
May 31, 2018
Apr. 30, 2018
Apr. 30, 2017
Jul. 31, 2017
Subsequent Event [Line Items]        
Revolving credit facility debt payments   $ 65,000 $ 65,000  
Line of credit, remaining outstanding amount   80,000   $ 145,000
Asset-based revolving credit facility        
Subsequent Event [Line Items]        
Line of credit, remaining outstanding amount   $ 80,000   $ 145,000
Subsequent Event | Asset-based revolving credit facility        
Subsequent Event [Line Items]        
Revolving credit facility debt payments $ 60,000      
Line of credit, remaining outstanding amount $ 20,000