Annual report pursuant to Section 13 and 15(d)

Income Taxes - Additional Information (Detail)

v3.22.2
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2020
Apr. 30, 2019
Schedule Of Income Taxes [Line Items]        
Deferred tax assets, valuation allowance increase (decrease) $ (1,100) $ 7,300 $ 3,800  
Undistributed earnings of foreign subsidiaries 662,100      
Unrecognized tax benefits liability 10,682 9,954 6,037 $ 7,794
Unrecognized tax benefits, reductions resulting from resolution (2,900)      
Unrecognized tax benefits, interest on income taxes accrued 1,400 900 600  
Unrecognized tax benefits, income tax penalties accrued 500 500    
Recognized interest expense 400 $ 800 $ 200  
Internal Revenue Service (IRS)        
Schedule Of Income Taxes [Line Items]        
Net operating loss carryforward $ 14,600      
Net operating loss carryforward, beginning expiration 2030      
State and Local Jurisdiction        
Schedule Of Income Taxes [Line Items]        
Net operating loss carryforward $ 34,200      
Net operating loss carryforward, beginning expiration 2023      
Foreign Tax Authority        
Schedule Of Income Taxes [Line Items]        
Net operating loss carryforward $ 112,500      
Net operating loss carryforward, beginning expiration 2023