Quarterly report pursuant to Section 13 or 15(d)

Employee Stock Plans - Additional Information (Detail)

v3.23.2
Employee Stock Plans - Additional Information (Detail) - USD ($)
3 Months Ended
Sep. 22, 2022
Jul. 01, 2020
Jul. 31, 2023
Jul. 31, 2022
Apr. 30, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Payments of tax withholdings on restricted stock     $ 10,175,000 $ 21,870,000  
Shares repurchased during the period, value     $ 14,358,000 $ 44,276,000  
Treasury Stock, Common          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares repurchased during the period (in shares)     90,000 369,867  
Shares repurchased during the period, value     $ 4,200,000 $ 22,400,000  
ESPP          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for future issuance (in shares)     1,700,000    
Authorized payroll deductions     15.00%    
Increase in the additional number of total shares that may be purchased (in shares) 1,500,000        
Authorized payroll deductions, value     $ 25,000    
Maximum number of shares reserved for issuance (in shares)     4,500,000    
Employees stock purchased (in shares)     105,311 83,704  
Employees stock purchased, price per share (in usd per share)     $ 44.59 $ 52.22  
ESPP | Minimum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Fair market price of common stock   85.00%      
ESPP | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Fair market price of common stock   100.00%      
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    
Performance period     3 years    
Shares outstanding (in shares)     700,000    
Total unrecognized compensation cost related to non-vested awards     $ 29,300,000    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares outstanding (in shares)     2,117,000   2,063,000
Total unrecognized compensation cost related to non-vested awards     $ 94,900,000    
Expected cost recognized over weighted-average period     2 years 8 months 12 days    
Shares repurchased during the period to pay for taxes (in shares)     201,441 365,464  
Payments of tax withholdings on restricted stock     $ 10,200,000 $ 21,900,000  
Stock Incentive Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock available for stock-based awards (in shares) 1,700,000        
Shares available for future issuance (in shares) 2,248,284        
Vesting period 1 year