XML 103 R88.htm IDEA: XBRL DOCUMENT v3.23.2
Restructuring Charges, Net - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
Restructuring Cost And Reserve [Line Items]      
Restructuring charges, net $ 42,573 $ 0 $ 30,732
Severance | The "Plan"      
Restructuring Cost And Reserve [Line Items]      
Restructuring charges, net $ 42,573 0 30,732
Severance | The "Plan" | Other Noncurrent Liabilities      
Restructuring Cost And Reserve [Line Items]      
Restructuring liability included in other long-term liabilities   $ 500  
Severance | Restructuring Plan 2 | COVID-19      
Restructuring Cost And Reserve [Line Items]      
Restructuring charges, net     $ 30,700