XML 56 R46.htm IDEA: XBRL DOCUMENT
v3.23.4

Investment (Income), Net - Net Loss (Gain) on Marketable Securities (Detail) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Nov. 30, 2023 | Nov. 30, 2022 | Nov. 30, 2023 | Nov. 30, 2022
Net Loss (Gain) on Marketable Securities |  |  |  |
Unrealized losses (gains) on marketable equity securities | $ 103 | $ (3,754) | $ (6,424) | $ 2,759
Realized losses (gains) on marketable equity securities | 87 | (40) | 132 | 89
Realized losses (gains) on available-for-sale debt securities | 35 |  | 66 | (36)
Net loss (gain) on marketable securities | $ 225 | $ (3,794) | $ (6,226) | $ 2,812

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-14 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_DebtSecuritiesTradingRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized and realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI). + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI). + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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