XML 84 R63.htm IDEA: XBRL DOCUMENT
v3.23.1

Short-term Investments - Additional Information (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 CNY (¥) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2022 USD ($)
Short Term Investments [Line Items] |  |  |  |  |
Interest income from short-term investments | ¥ 4,669 | $ 677 | ¥ 5,143 | ¥ 3,795 |
Debt securities, investments in equity | 6,920 |  | 3,224 |  | $ 1,004
Interest Income [Member] |  |  |  |  |
Short Term Investments [Line Items] |  |  |  |  |
Interest income from short-term investments | 2,771 | $ 402 | 1,818 | ¥ 478 |
Debt securities, investments in equity | ¥ 65,108 |  |  |  |
Interest And Investment Income [Member] |  |  |  |  |
Short Term Investments [Line Items] |  |  |  |  |
Debt securities available for sale realized gain |  |  | ¥ 1,729 |  |

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

X
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(10)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. + 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(b)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 + Details
Name: | us-gaap_InvestmentIncomeInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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