XML 58 R51.htm IDEA: XBRL DOCUMENT
v3.24.1

Investment (Income), Net - Net (Gain) Loss on Marketable Securities (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Feb. 29, 2024 | Feb. 28, 2023 | Feb. 29, 2024 | Feb. 28, 2023
Net (Gain) Loss on Marketable Securities |  |  |  |
Unrealized (gains) losses on marketable equity securities | $ (12,015) | $ 946 | $ (18,439) | $ 3,704
Realized losses (gains) on marketable equity securities | 1,742 | (525) | 1,874 | (435)
Realized losses (gains) on available-for-sale debt securities | 3 | 8 | 69 | (28)
Net (gain) loss on marketable securities | $ (10,270) | $ 429 | $ (16,496) | $ 3,241

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