XML 144 R117.htm IDEA: XBRL DOCUMENT v3.23.2
Derivative Financial Instruments and Hedging Activities - Schedule of Summary of Derivative Hedges (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
Derivative [Line Items]    
Notional Amount $ (13,125) $ 13,669
Commodity Contracts | Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Notional Amount $ 172  
Commodity Contracts | Minimum | Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Maturity Date Jun. 30, 2023  
Commodity Contracts | Maximum | Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Maturity Date Dec. 31, 2024  
Cash Flow Hedges | Commodity Contracts    
Derivative [Line Items]    
Notional Amount $ 78,149  
Cash Flow Hedges | Commodity Contracts | Minimum    
Derivative [Line Items]    
Maturity Date Jun. 30, 2023  
Cash Flow Hedges | Commodity Contracts | Maximum    
Derivative [Line Items]    
Maturity Date Dec. 31, 2024  
Cash Flow Hedges | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Notional Amount $ 3,984  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Minimum    
Derivative [Line Items]    
Maturity Date Jun. 30, 2023  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Maximum    
Derivative [Line Items]    
Maturity Date Nov. 30, 2023