v3.25.2
Derivative Instruments and Hedging Activities - Schedule of Derivative Financials Designated as Cash Flow Hedging Instruments (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
Derivative [Line Items]    
Gain (Loss) Recognized in OCI $ 689 $ 3,382
Gain (Loss) Reclassified from AOCI into Net Earnings $ 391 $ (1,047)
Derivative Instrument, Gain (Loss) Reclassified from AOCI into Income, Effective Portion, Statement of Income or Comprehensive Income [Extensible Enumeration] Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax, Parent Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax, Parent
Interest Rate Contract | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Reclassified from AOCI into Net Earnings $ 207 $ (642)
Interest Rate Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Reclassified from AOCI into Net Earnings   188
Commodity Contracts    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI   3,382
Gain (Loss) Reclassified from AOCI into Net Earnings   (549)
Commodity Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI (63)  
Gain (Loss) Reclassified from AOCI into Net Earnings (100)  
Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI   (11)
Foreign Currency Exchange Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI 521  
Gain (Loss) Reclassified from AOCI into Net Earnings 270 $ (44)
Foreign Currency Exchange Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI 231  
Gain (Loss) Reclassified from AOCI into Net Earnings $ 14