XML 42 R40.htm IDEA: XBRL DOCUMENT v3.20.1
Employee Stock Plans - Components of Stock-Based Compensation Expense Recognized (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 5,468 $ 5,659 $ 16,988 $ 18,028
Restricted Stock        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense 5,219 5,413 16,022 17,083
ESPP        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 249 $ 246 $ 966 $ 945