v3.26.1
Derivative Financial Instruments and Hedging Activities - Schedule of Fair Value of Derivative Instruments (Detail) - USD ($)
$ in Thousands
Feb. 28, 2026
May 31, 2025
Derivative [Line Items]    
Fair Value of Assets $ 1,003 $ 1,042
Fair Value of Liabilities 783 7,461
Derivatives Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 941 961
Fair Value of Liabilities 291 86
Derivatives Designated As Hedging Instruments | Commodity Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 757 478
Derivatives Designated As Hedging Instruments | Commodity Contracts | Other Liabilities    
Derivative [Line Items]    
Fair Value of Liabilities 6 35
Derivatives Designated As Hedging Instruments | Foreign Currency Exchange Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 184 483
Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 62 81
Fair Value of Liabilities 492 7,375
Derivatives Not Designated As Hedging Instruments | Commodity Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 62 81
Accounts Payable | Derivatives Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 285 51
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 153 15
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Fair Value of Liabilities $ 339 $ 7,360