XML 56 R40.htm IDEA: XBRL DOCUMENT v3.21.2
Employee Stock Plans - Components of Stock-Based Compensation Expense Recognized (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 7,491 $ 7,230 $ 14,649 $ 13,195
Restricted Stock        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense 7,288 7,084 14,250 12,897
ESPP        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 203 $ 146 $ 399 $ 298