XML 18 R6.htm IDEA: XBRL DOCUMENT
v3.23.2

Consolidated Statements of Comprehensive Income (Loss)(Parenthetical) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022 | May 31, 2021
Statement of Comprehensive Income [Abstract] |  |  |
Unrealized (loss) gain on marketable securities, net of tax | $ 389 | $ (728) | $ (80)
Unrealized loss on derivative instruments, net of tax | $ (644) |  |

X
- Definition Amount of unrealized gain (loss) on investment in marketable security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_MarketableSecuritiesUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_UnrealizedGainLossOnDerivatives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration