XML 74 R58.htm IDEA: XBRL DOCUMENT v3.21.2
Restructuring Charges, Net - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Apr. 30, 2021
Restructuring Cost And Reserve [Line Items]          
Restructuring charges, net   $ 2,407,000   $ 29,894,000  
Restructuring liability included in other long-term liabilities $ 500,000   $ 500,000   $ 600,000
Severance          
Restructuring Cost And Reserve [Line Items]          
Restructuring charges, net $ 0 $ 2,400,000 $ 0 $ 29,900,000