XML 78 R67.htm IDEA: XBRL DOCUMENT v3.22.4
Derivative Financial Instruments and Hedging Activities - Schedule of Summary of Derivative Hedges (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Nov. 30, 2022
Nov. 30, 2021
Derivative [Line Items]        
Notional Amount $ 3,814 $ (10,723) $ 2,143 $ (19,641)
Commodity Contracts | Minimum [Member] | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date     Dec. 31, 2022  
Notional Amount     $ 5,100  
Commodity Contracts | Maximum | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date     Dec. 31, 2023  
Foreign Currency Exchange Contracts | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date     Dec. 31, 2022  
Notional Amount     $ 15,096  
Cash Flow Hedges | Commodity Contracts        
Derivative [Line Items]        
Notional Amount 114,516   $ 114,516  
Cash Flow Hedges | Commodity Contracts | Minimum [Member]        
Derivative [Line Items]        
Maturity Date     Dec. 31, 2022  
Cash Flow Hedges | Commodity Contracts | Maximum        
Derivative [Line Items]        
Maturity Date     Dec. 31, 2023  
Cash Flow Hedges | Foreign Currency Exchange Contracts        
Derivative [Line Items]        
Notional Amount $ 1,751   $ 1,751  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Minimum [Member]        
Derivative [Line Items]        
Maturity Date     Jan. 31, 2023  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Maximum        
Derivative [Line Items]        
Maturity Date     Jul. 31, 2023