v3.25.2
Derivative Instruments and Hedging Activities - Schedule of Fair Value of Derivative Instruments (Detail) - USD ($)
$ in Thousands
May 31, 2025
May 31, 2024
Derivative [Line Items]    
Fair Value of Assets $ 1,042 $ 920
Fair Value of Liabilities 7,461 1,421
Derivatives Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 961 601
Fair Value of Liabilities 86 104
Derivatives Designated As Hedging Instruments | Commodity Contracts | Other Liabilities    
Derivative [Line Items]    
Fair Value of Liabilities 35 21
Derivatives Designated As Hedging Instruments | Commodity Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 478 601
Derivatives Designated As Hedging Instruments | Foreign Currency Exchange Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 483  
Derivatives Not Designated As Hedging Instruments    
Derivative [Line Items]    
Fair Value of Assets 81 319
Fair Value of Liabilities 7,375 1,317
Derivatives Not Designated As Hedging Instruments | Commodity Contracts | Receivables    
Derivative [Line Items]    
Fair Value of Assets 81 319
Accounts Payable | Derivatives Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 51 83
Accounts Payable | Derivatives Designated As Hedging Instruments | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 0  
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Fair Value of Liabilities 15 69
Accounts Payable | Derivatives Not Designated As Hedging Instruments | Foreign Currency Exchange Contracts    
Derivative [Line Items]    
Fair Value of Liabilities $ 7,360 $ 1,248