XML 117 R96.htm IDEA: XBRL DOCUMENT
v3.23.1

Shareholders' Equity - Additional Information (Detail) - CNY (¥) ¥ in Thousands |  | 1 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | ---
Jan. 16, 2020 | Jan. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Oct. 26, 2022 | Jul. 29, 2021 | Jan. 29, 2021
Number of shares issued |  |  |  |  |  | 876,380 | 2,500,000 |
Conversion Of Ordinary Shares |  |  | 1,110,000 | 4,855,995 | 430,108 |  |  |
Restricted Stock Units (RSUs) [Member] |  |  |  |  |  |  |  |
Payment of tax witheld share based compensation |  | ¥ 11,230 |  |  |  |  |  |
Restricted Stock Units (RSUs) [Member] | Additional Paid-in Capital [Member] |  |  |  |  |  |  |  |
Adjustment related to tax witholding for share based compensation |  | ¥ 11,230 |  |  |  |  |  |
Common Class B [Member] |  |  |  |  |  |  |  |
Number of shares issued |  |  | 39,026,560 | 40,136,560 |  |  |  |
Ordinary shares, shares outstanding |  |  | 39,026,560 | 40,136,560 |  |  |  |
Common Class A [Member] |  |  |  |  |  |  |  |
Number of shares issued |  |  | 78,300,387 | 74,309,007 |  |  |  |
Ordinary shares, shares outstanding |  |  | 77,309,937 | 73,723,637 |  |  |  |
Common Class A [Member] | Restricted Stock Units (RSUs) [Member] |  |  |  |  |  |  |  |
Number of shares issued |  |  | 2,595,750 | 3,002,130 |  |  |  |
Ordinary shares held by depository bank |  |  | 590,750 | 1,914,630 |  |  |  |
Ordinary shares reserved for future issuance |  |  | 871,000 | 585,370 |  |  |  |
Common Class A [Member] | Over-Allotment Option [Member] |  |  |  |  |  |  |  |
Shares issued for underwriters | 170,062 |  |  |  |  |  |  |
Common Class A [Member] | European asset management company [Member] |  |  |  |  |  |  |  |
Number of shares issued |  |  |  |  |  |  |  | 1,230,769

X
- Definition Common stock shares held in depository bank. + References No definition available. + Details
Name: | eh_CommonStockSharesHeldInDepositoryBank
Namespace Prefix: | eh_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_OverAllotmentOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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