XML 65 R59.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Derivatives - Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location (Detail) - Not Designated as Hedging Instrument [Member] - Forward Contracts [Member] - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Feb. 29, 2024 | Feb. 28, 2023 | Feb. 29, 2024 | Feb. 28, 2023
Other Income (Expense) [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Foreign currency forward contracts | $ 150 | $ (1,564) |  |
Other Expense [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Foreign currency forward contracts |  |  | $ (391) | $ (9,812)

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in earnings in the period from the increase (decrease) in fair value of foreign currency derivatives not designated as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherOperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |