Quarterly report pursuant to Section 13 or 15(d)

Deferred Compensation and Retirement Plans - Additional Information (Detail)

v3.23.2
Deferred Compensation and Retirement Plans - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Apr. 30, 2023
Defined Benefit Plan Disclosure [Line Items]      
Increase in market value of the underlying COLI investments $ 1,966 $ 2,029  
CSV of COLI Contracts      
Defined Benefit Plan Disclosure [Line Items]      
Increase in market value of the underlying COLI investments 2,000 2,000  
Deferred Compensation Plan | CSV of COLI Contracts      
Defined Benefit Plan Disclosure [Line Items]      
Gross CSV 277,200   $ 275,100
Outstanding policy loans $ 77,100   $ 77,100
Executive Capital Accumulation Plan      
Defined Benefit Plan Disclosure [Line Items]      
Deferred compensation arrangement vesting period 5 years    
Compensation expense (reduction) $ 12,500 900  
Increase (decrease) in the fair value of marketable securities $ 12,800 $ 100  
Executive Capital Accumulation Plan | Minimum      
Defined Benefit Plan Disclosure [Line Items]      
Option to receive employee benefits by quarterly installments periods 1 year    
Executive Capital Accumulation Plan | Maximum      
Defined Benefit Plan Disclosure [Line Items]      
Option to receive employee benefits by quarterly installments periods 15 years