v3.26.3
Derivative Financial Instruments and Hedging Activities - Schedule of Fair Value of Derivative Instruments (Detail) - USD ($)
$ in Thousands
Aug. 31, 2026
May 31, 2026
Derivative [Line Items]    
Fair Value of Assets $ 743 $ 1,364
Fair Value of Liabilities 1,081 1,257
Derivatives Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 708 1,364
Fair Value of Liabilities 857 1,177
Derivatives Designated As Hedging Instruments | Commodity Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:AccountsReceivableNetCurrent    
Derivative [Line Items]    
Fair Value of Assets 577 1,264
Derivatives Designated As Hedging Instruments | Commodity Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:OtherAssetsNoncurrent    
Derivative [Line Items]    
Fair Value of Assets 90 100
Derivatives Designated As Hedging Instruments | Foreign Currency Exchange Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:AccountsReceivableNetCurrent    
Derivative [Line Items]    
Fair Value of Assets 41  
Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 35  
Fair Value of Liabilities 224 80
Derivatives Not Designated As Hedging Instruments | Commodity Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:AccountsReceivableNetCurrent    
Derivative [Line Items]    
Fair Value of Assets 21  
Derivatives Not Designated As Hedging Instruments | Commodity Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:OtherAssetsNoncurrent    
Derivative [Line Items]    
Fair Value of Assets 9  
Derivatives Not Designated As Hedging Instruments | Foreign Currency Exchange Contracts | Location, Statement of Financial Position, Balance [Axis]: us-gaap:AccountsReceivableNetCurrent    
Derivative [Line Items]    
Fair Value of Assets 5  
Accounts Payable | Derivatives Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 857 1,044
Accounts Payable | Derivatives Designated As Hedging Instruments | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Fair Value of Liabilities   133
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 203 64
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Fair Value of Liabilities $ 21 $ 16