XML 94 R73.htm IDEA: XBRL DOCUMENT
v3.23.1

Long-term Investments - Summary of Long Term Investments (Parenthetical) (Detail) ¥ in Thousands, $ in Thousands | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jun. 30, 2021 CNY (¥) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2017 CNY (¥) | Dec. 31, 2022 USD ($)
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Payments to acquire equity method investments | ¥ 10,500 |  |  |  |  |  |  |
Income loss from equity method investments |  | ¥ (196) | $ (28) | ¥ 276 |  | ¥ 52 |  |
Committed capital |  |  |  | 3,500 | $ 508 |  |  |
Equity investments without readily determinable fair values |  | 2,919 |  | 2,919 |  |  |  | $ 423
Proceeds from providing facilitating services |  |  |  |  |  |  | ¥ 41,117 |
Cash paid for long-term investment |  | 4,550 | 660 | 700 |  |  |  |
Unbilled Revenue Impairment Of Balances Reversed |  | ¥ 1,750 | $ 254 | ¥ 2,800 |  |  |  |
Third Party Investor [Member] |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Payments to acquire equity method investments | ¥ 19,500 |  |  |  |  |  |  |
Third Party Investor [Member] | Guangzhou City Government [Member] |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Equity method investment, Ownership percentage |  |  |  |  |  |  | 5.00% |

X
- Definition Proceeds from providing facilitating services. + References No definition available. + Details
Name: | eh_ProceedsFromProvidingFacilitatingServices
Namespace Prefix: | eh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unbilled revenue Impairment of balances reversed. + References No definition available. + Details
Name: | eh_UnbilledRevenueImpairmentOfBalancesReversed
Namespace Prefix: | eh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). + 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(12)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 3: 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 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 6: 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 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of funds committed to investment company from investors. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 205 -Section 50 -Paragraph 25 -URI https://asc.fasb.org/extlink&oid=25866437&loc=d3e10491-115837 + Details
Name: | us-gaap_InvestmentCompanyCommittedCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, beyond the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the long-term. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireLongtermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 No definition available. + Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=eh_ThirdPartyInvestorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=eh_GuangzhouCityGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |