XML 127 R106.htm IDEA: XBRL DOCUMENT
v3.23.1

Commitments and Contingencies - Additional Information (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 USD ($) | Apr. 25, 2023 CNY (¥)
Subsequent Event [Member] |  |
Loss Contingencies [Line Items] |  |
Loss contingency accrual | ¥ |  | ¥ 3,375
Pending litigation [Member] | Company and chairman and chief executive officer of the company [Member] |  |
Loss Contingencies [Line Items] |  |
Damages sought value | $ 10,000 |
Pending litigation [Member] | Company and chairman and chief executive officer of the company [Member] | Compensatory damages [Member] |  |
Loss Contingencies [Line Items] |  |
Damages sought value | 3,500 |
Pending litigation [Member] | Company chairman chief executive officer and variable interest entity [Member] | Compensatory damages [Member] |  |
Loss Contingencies [Line Items] |  |
Damages sought value | 3,500 |
Pending litigation [Member] | Chief executive officer [Member] |  |
Loss Contingencies [Line Items] |  |
Damages sought value | 5,000 |
Pending litigation [Member] | Chief executive officer [Member] | Compensatory damages [Member] |  |
Loss Contingencies [Line Items] |  |
Damages sought value | $ 3,500 |

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_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss contingency liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349 + Details
Name: | us-gaap_LossContingencyAccrualAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LitigationStatusAxis=us-gaap_PendingLitigationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | eh_PartiesInvolvedAxis=eh_CompanyAndChairmanAndChiefExecutiveOfficerOfTheCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=eh_CompensatoryDamagesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | eh_PartiesInvolvedAxis=eh_CompanyChairmanChiefExecutiveOfficerAndVariableInterestEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | eh_PartiesInvolvedAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |