XML 102 R81.htm IDEA: XBRL DOCUMENT
v3.23.1

Revenues - Additional Information (Detail) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 CNY (¥) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 CNY (¥)
Revenue recognized contract liability | ¥ 3,828 | $ 555 |
Reclassified From Cost And Estimated Earnings In Excess Of Billings To Accounts Receivable [Member] |  |  |
Cost and estimated earnings in excess of billings |  |  | ¥ 717
General and Administrative Expense [Member] |  |  |
Decrease in unbilled revenue was due to impairment of balances amount |  |  | 2,800
Decrease in accounts receivable caused by impairment | ¥ 46,045 | $ 6,676 | ¥ 59,347

X
- Definition Amount of receivable reflecting the cost incurred on uncompleted contracts in excess of related billings. + References No definition available. + Details
Name: | eh_CostAndEstimatedEarningsInExcessOfBillings
Namespace Prefix: | eh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Decrease in accounts receivable caused by impairment. + References No definition available. + Details
Name: | eh_DecreaseInAccountsReceivableCausedByImpairment
Namespace Prefix: | eh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period of the amount of revenue for work performed for which billing has not occurred, net of uncollectible accounts. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInUnbilledReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ReclassificationTypeAxis=eh_ReclassifiedFromCostAndEstimatedEarningsInExcessOfBillingsToAccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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