XML 77 R56.htm IDEA: XBRL DOCUMENT
v3.23.1

Summary of Significant Accounting Policies - Summary of Estimated Useful Lives and Residual Value of Property and Equipment (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2022
Mold And Tooling [Member] |
Property, Plant and Equipment [Line Items] |
Residual value | 0.00%
Mold And Tooling [Member] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 2 years
Mold And Tooling [Member] | Maximum [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 5 years
Office equipment [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 5 years
Residual value | 5.00%
Machinery and electronic equipment [Member] |
Property, Plant and Equipment [Line Items] |
Residual value | 5.00%
Machinery and electronic equipment [Member] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 3 years
Machinery and electronic equipment [Member] | Maximum [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 10 years
Transportation equipment [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | 4 years
Residual value | 5.00%
Leasehold improvements [Member] |
Property, Plant and Equipment [Line Items] |
Estimated useful life | Shorter of lease term or the estimated useful lives of the assets
Residual value | 0.00%

X
- Definition Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126905813&loc=d3e1205-110223 + Details
Name: | us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stated as a percentage, the estimated or actual value of the asset at the end of its useful life or when it is no longer serviceable (cannot be used for its original purpose) divided by its [historical] capitalized cost. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentSalvageValuePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=eh_MoldAndToolingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OfficeEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OtherMachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_TransportationEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |