XML 52 R36.htm IDEA: XBRL DOCUMENT v3.10.0.1
Employee Stock Plans - Additional Information (Detail)
3 Months Ended
Jul. 31, 2018
USD ($)
$ / shares
shares
Jul. 31, 2017
USD ($)
$ / shares
shares
Apr. 30, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Payments of tax withholdings on restricted stock | $ $ 13,054,000 $ 3,346,000  
Shares repurchased during the period, value | $ $ 13,055,000 $ 7,372,000  
Treasury Stock, Common      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Shares repurchased during the period 0 119,356  
Shares repurchased during the period, value | $   $ 4,000,000  
ESPP      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Maximum number of shares reserved for issuance 3,000,000    
Authorized payroll deductions 15.00%    
Fair market price of common stock 85.00%    
Authorized payroll deductions, value | $ $ 25,000    
Shares available for future issuance 1,000,000    
Employees stock purchased 75,106 116,285  
Employees stock purchased, price per share | $ / shares $ 52.64 $ 29.35  
Time Based Restricted Stock      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Vesting period 4 years    
Market Based Restricted Stock      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Vesting period 3 years    
Shares outstanding 600,000    
Total unrecognized compensation cost related to non-vested awards | $ $ 14,500,000    
Performance Based Restricted Stock Unit      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Vesting period 3 years    
Shares outstanding 200,000    
Total unrecognized compensation cost related to non-vested awards | $ $ 1,700,000    
Restricted Stock      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Shares outstanding 1,649,000   1,730,000
Total unrecognized compensation cost related to non-vested awards | $ $ 48,100,000    
Expected cost recognized over weighted-average period 2 years 9 months 18 days    
Shares repurchased during the period to pay for taxes 199,795 97,483  
Payments of tax withholdings on restricted stock | $ $ 13,100,000 $ 3,300,000  
Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Proceeds from issuance of common stock upon exercise of employee stock options | $ $ 200,000 $ 600,000  
Stock Options | Common Stock      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock issued for stock options exercised 6,720 41,075  
Stock Incentive Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock incentive plan, additional number of shares 5,500,000    
Maximum number of shares reserved for issuance 11,200,000    
Issuance of full-value stock awards limitation, required ratio to stock options 2.3