XML 36 R26.htm IDEA: XBRL DOCUMENT v3.7.0.1
Equity Compensation Plans - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
May 31, 2018
May 31, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Compensation expense related to share based awards $ 1,401,000 $ 1,516,000    
Weighted-average fair value per share of stock options granted       $ 15.86
During fiscal 2018        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Weighted-average fair value per share of stock options granted     $ 15.59  
U.S. | ASU No. 2016-09        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Decrease in income tax expense $ (396,000)      
Employee Stock Purchase Plan | 2011 Employee Stock Purchase Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Annual maximum limit percentage of compensation to purchase shares 5.00%      
Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock option vesting period 3 years      
Stock option contractual terms 5 years      
Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock option vesting period 5 years      
Stock option contractual terms 10 years