Quarterly report pursuant to Section 13 or 15(d)

Deferred Compensation and Retirement Plans - Additional Information (Detail)

v3.22.2.2
Deferred Compensation and Retirement Plans - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Apr. 30, 2022
Defined Benefit Plan Disclosure [Line Items]      
Increase in market value of the underlying COLI investments $ 2,029 $ 531  
Recognized investment income (expense) $ 100 5,200  
Minimum      
Defined Benefit Plan Disclosure [Line Items]      
Option to receive employee benefits by quarterly installments periods 1 year    
Maximum      
Defined Benefit Plan Disclosure [Line Items]      
Option to receive employee benefits by quarterly installments periods 15 years    
CSV of COLI Contracts      
Defined Benefit Plan Disclosure [Line Items]      
Increase in market value of the underlying COLI investments $ 2,000 500  
Deferred Compensation Plan | CSV of COLI Contracts      
Defined Benefit Plan Disclosure [Line Items]      
Gross CSV 264,500   $ 263,200
Outstanding policy loans $ 79,800   $ 79,800
Executive Capital Accumulation Plan      
Defined Benefit Plan Disclosure [Line Items]      
Deferred compensation arrangement vesting period 5 years    
Gain (loss) on deferred compensation plan $ 900 $ 5,400