v3.25.2
Postretirement Benefits - Changes in Benefit Obligation (Detail) - Postretirement Benefits - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Domestic      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Benefit obligation at beginning of year $ 1,621 $ 1,768  
Interest cost 83 87 $ 84
Benefit payments (135) (149)  
Actuarial losses (gains) 94 (85)  
Benefit Obligation at End of Year 1,663 1,621 1,768
Non-U.S. Plans      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Benefit obligation at beginning of year 26,058 31,037  
Service cost 1,672 2,259 1,951
Interest cost 1,251 1,550 1,374
Benefit payments (568) (674)  
Actuarial losses (gains) (3,635) (7,983)  
Currency exchange rate changes (221) (131)  
Benefit Obligation at End of Year $ 24,557 $ 26,058 $ 31,037