XML 144 R117.htm IDEA: XBRL DOCUMENT
v3.23.2

Derivative Financial Instruments and Hedging Activities - Schedule of Summary of Derivative Hedges (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022
Derivative [Line Items] |  |
Notional Amount | $ (13,125) | $ 13,669
Commodity Contracts | Derivatives Not Designated As Hedging Instruments |  |
Derivative [Line Items] |  |
Notional Amount | $ 172 |
Commodity Contracts | Minimum | Derivatives Not Designated As Hedging Instruments |  |
Derivative [Line Items] |  |
Maturity Date | Jun. 30, 2023 |
Commodity Contracts | Maximum | Derivatives Not Designated As Hedging Instruments |  |
Derivative [Line Items] |  |
Maturity Date | Dec. 31, 2024 |
Cash Flow Hedges | Commodity Contracts |  |
Derivative [Line Items] |  |
Notional Amount | $ 78,149 |
Cash Flow Hedges | Commodity Contracts | Minimum |  |
Derivative [Line Items] |  |
Maturity Date | Jun. 30, 2023 |
Cash Flow Hedges | Commodity Contracts | Maximum |  |
Derivative [Line Items] |  |
Maturity Date | Dec. 31, 2024 |
Cash Flow Hedges | Foreign Currency Exchange Contracts |  |
Derivative [Line Items] |  |
Notional Amount | $ 3,984 |
Cash Flow Hedges | Foreign Currency Exchange Contracts | Minimum |  |
Derivative [Line Items] |  |
Maturity Date | Jun. 30, 2023 |
Cash Flow Hedges | Foreign Currency Exchange Contracts | Maximum |  |
Derivative [Line Items] |  |
Maturity Date | Nov. 30, 2023 |

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the derivative contract matures, in YYYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DerivativeMaturityDates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |