XML 80 R73.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Derivative Financial Instruments and Hedging Activities - Schedule of Summary of Derivative Hedges (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 29, 2024
Feb. 28, 2023
Feb. 29, 2024
Feb. 28, 2023
Derivative [Line Items]        
Notional Amount $ 229 $ 2,692 $ (835) $ 4,873
Commodity Contracts | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Notional Amount     $ 1,648  
Commodity Contracts | Minimum | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date(s)     Mar. 31, 2024  
Commodity Contracts | Maximum | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date(s)     Dec. 31, 2024  
Foreign Currency Exchange Contracts | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Notional Amount     $ 7,034  
Foreign Currency Exchange Contracts | Minimum | Derivatives Not Designated As Hedging Instruments        
Derivative [Line Items]        
Maturity Date(s)     Mar. 31, 2024  
Cash Flow Hedges | Commodity Contracts        
Derivative [Line Items]        
Notional Amount $ 9,113   $ 9,113  
Cash Flow Hedges | Commodity Contracts | Minimum        
Derivative [Line Items]        
Maturity Date(s)     Mar. 31, 2024  
Cash Flow Hedges | Commodity Contracts | Maximum        
Derivative [Line Items]        
Maturity Date(s)     Jun. 30, 2025