Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies (a) Basis of presentation The accompanying consolidated financial statements have been prepared in accordance with the accounting principles generally accepted in the United States of America (“US GAAP”). (b) Principles of consolidation The consolidated financial statements include the financial statements of the Company, its subsidiaries, the VIE and the subsidiaries of the VIE, for which the Company is the primary beneficiary. All significant inter-company transactions and balances between the Company, its subsidiaries, the VIE and the subsidiaries of the VIE have been eliminated upon consolidation. (c) Use of estimates The preparation of financial statements in conformity with US GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities at the balance sheet date and revenues and expenses during the reporting periods. Significant estimates and assumptions reflected in the Group’s consolidated financial statements include, but not limited to expected total costs of command-and-control (d) Foreign currency The functional currency of the Company, EHfly, and EHANG Investment (HK) Limited (“EHang HK”) is the United States dollar (“US$”). The functional currency of EHang Holding GmbH (“EHang GmbH”), EHANG TECHNOLOGIES SPAIN & LATAM, S.L. (“EHang Spain”) and Ehang EUROPE SAS (“EHang France”) is the euro (“€”). The functional currency of the Company’s PRC subsidiaries, the VIE and subsidiaries of the VIE is the Renminbi (“RMB”). The Group uses the RMB as its reporting currency. Transactions denominated in foreign currencies are re-measured re-measured Non-monetary re-measured The Company uses the average exchange rate for the year and the exchange rate at the balance sheet date to translate the operating results and financial position, respectively. Translation differences are recorded in accumulated other comprehensive income/(loss), a component of shareholders’ (deficit)/equity. (e) Convenience translation Amounts in US$ are presented for the convenience of the reader and are translated at the noon buying rate of US$1.00 to RMB6.5250 on December 31, 2020, as published on the website of the United States Federal Reserve Board. No representation is made that the RMB amounts could have been, or could be, converted into US$ at such rate. (f) Cash and cash equivalents Cash and cash equivalents consist of cash on hand and highly liquid investments which are unrestricted as to withdrawal or use, and which have original maturities of three months or less when purchased. (g) Restricted cash Restricted cash mainly represents cash frozen by People’s Court of Tianhe District in Guangzhou city in request by a third-party (h) Short-term investments All highly liquid investments with original maturities of greater than three months but less than twelve months, are classified as short-term investments. Investments that are expected to be realized in cash during the next twelve months are also included in short-term investments. As of December 31, 2019 and 2020, the Group’s short-term investments comprised of wealth management products issued by financial institutions in the PRC and debt instruments issued by international financial institutions (Note 4). The Group accounts for short-term investments in accordance with ASC 320 (“ASC 320”), Investments—Debt and Equity Securities “held-to-maturity,” “available-for-sale,” held-to-maturity held-to-maturity available-for-sale, (i) Accounts receivable and allowance for doubtful accounts Accounts receivable are carried at net realizable value. An allowance for doubtful accounts is recorded in the period when loss is probable based on an assessment of specific evidence indicating troubled collection, historical experience, accounts aging and other factors. Accounts receivable are written off after all collection effort has ceased. (j) Loans receivable and allowance for credit loss The long-term loans receivable represents the loans to third parties (Note 9). Such amount is recorded at the principal net of allowance for credit loss, if any, and includes accrued interest receivable as of the balance sheet date. The Group reviews and monitors the credit worthiness of the third parties. An allowance for credit loss is recorded in the period in which a loss is determined to be probable and the amount of the loss can be reasonably estimated. No credit losses were incurred for the periods presented. (k) Cost and estimated earnings in excess of billings Design and construction of customized command-and-control cost-to-cost command-and-control command-and-control Revenue in excess of billings on the contracts is recorded as costs and estimated earnings in excess of billings. Billings in excess of revenues recognized on the contracts are recorded as deferred revenue until the above revenue recognition criteria are met. The carrying value of the Group’s costs and estimated earnings in excess of billings, net of the allowance for doubtful accounts, represents their estimated net realizable value. The Group recognizes an allowance for doubtful accounts on costs and estimated earnings in excess of billings when it is probable that it will not collect the amount and writes off any balances in the period when deemed uncollectible. The Group periodically reviews the status of contracts and decides how much of an allowance for doubtful accounts should be made based on factors surrounding the credit risk of customers and historical experience. The Group does not require collateral from its customers and does not charge interest for late payments by its customers. As of December 31, 2019 and 2020, cost and estimated earnings in excess of billings represent revenue in excess of billings on two completed command-and-control command-and-control As of December 31, 2019 2020 RMB RMB US$ Contracts costs incurred plus estimated earnings 28,797 28,797 4,413 Less: Progress billings (14,585 ) (28,080 ) (4,303 ) 14,212 717 110 (l) Inventories Inventories are comprised of raw materials, work in progress and finished goods. The Group’s raw materials consist of accessories and hardware parts used to produce autonomous aerial vehicles and hardware for building the command-and-control (m) Property and equipment, net Property and equipment are stated at cost and are depreciated using the straight-line method over the estimated useful lives of the assets, as follows: Category Estimated useful life Residual value Office equipment 5 years 5% Machinery and electronic equipment 3-10 years 5% Transportation equipment 4 years 5% Leasehold improvements Shorter of lease term or the estimated useful lives of the assets 0% Repair and maintenance costs are charged to expense as incurred, whereas the costs of renewals and betterments that extend the useful lives of property and equipment are capitalized as additions to the related assets. Retirements, sales and disposals of assets are recorded by removing the cost and accumulated depreciation from the asset and accumulated depreciation accounts with any resulting gain or loss reflected in the consolidated statements of comprehensive loss. Direct costs that are related to the construction of property and equipment and incurred in connection with bringing the assets to their intended use are capitalized as construction-in-progress. Construction-in-progress (n) Impairment of long-lived assets other than goodwill The Group evaluates its long-lived assets or asset group, including intangible assets with finite lives, for impairment whenever events or changes in circumstances (such as a significant adverse change to market conditions that will impact the future use of the assets) indicate that the carrying amount of an asset or a group of long-lived assets may not be recoverable. When these events occur, the Group evaluates for impairment by comparing the carrying amount of the assets to future undiscounted net cash flows expected to result from the use of the assets and their eventual disposition. If the sum of the expected undiscounted cash flow is less than the carrying amount of the assets, the Group would recognize an impairment loss based on the excess of the carrying amount of the asset group over its fair value. Fair value is generally determined by discounting the cash flows expected to be generated by the long-lived assets or asset group, when the market prices are not readily available. There was no impairment of the Group’s long-lived assets for any of the periods presented. (o) Long-term investments The Group’s long-term investments consist of an equity investment without readily determinable fair value and an equity method investment. In 2017, the Group provided facilitating services to a third party to acquire a land use right from the Guangzhou City government. In exchange for such services, the Group received a cash consideration of RMB41,117 and 5% equity interests in a corporation, the sole asset of which was the aforementioned land use right. The Group recorded a gain of RMB44,036 representing the cash consideration and the fair value of the equity interests received at RMB2,919 in “Other income” in its consolidated statement of comprehensive loss for the year ended December 31, 2017. The Group accounted for the 5% equity interest as a cost method investment prior to adopting ASU 2016-01. During 2018, the Group acquired a 20% equity interest of Ehang (Guangzhou) Chuanyue Biotechnology Co., Ltd. The Group has significant influence over the investee and accounts for such investment as an equity method investment. In July 2020, the Group disposed all its equity interest in Ehang (Guangzhou) Chuanyue Biotechnology Co., Ltd to a third party with a total cash consideration of RMB300 (US$46) and recognized disposal gain with an amount of RMB236 (US$36). Prior to adopting ASU 2016-01 825-10) 2016-01”), 325-20, 325-20”). Investments in equity investees represent investments in entities in which the Group can exercise significant influence but does not own a majority equity interest or control are accounted for using the equity method of accounting in accordance with ASC 323-10, 323-10”). 323-10. (p) Fair value measurements of financial instruments The Group’s financial instruments include cash and cash equivalents, restricted cash, short-term investments, accounts receivable and payable, short-term loan, loans from third parties and mandatorily redeemable non-controlling The Group applies ASC 820 (“ASC 820”), Fair Value Measurements and Disclosures ASC 820 establishes a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value as follows: Level 1 — Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. Level 2 — Other inputs that are directly or indirectly observable in the marketplace. Level 3 — Unobservable inputs which are supported by little or no market activity. ASC 820 describes three main approaches to measuring the fair value of assets and liabilities: (1) market approach; (2) income approach; and (3) cost approach. The market approach uses prices and other relevant information generated from market transactions involving identical or comparable assets or liabilities. The income approach uses valuation techniques to convert future amounts to a single present value amount. The measurement is based on the value indicated by current market expectations about those future amounts. The cost approach is based on the amount that would currently be required to replace an asset. (q) Revenue recognition The Group’s revenues are primarily derived from the sale of Autonomous Aerial Vehicles (“AAVs”) and related commercial solutions, mainly including air mobility solutions, smart city management solutions, and aerial media solutions. For the year ended December 31, 2018, revenue is recognized only when the price is fixed or determinable, persuasive evidence of an arrangement exists, the service is performed or the good is delivered and collectability of the related fee is reasonably assured in accordance with ASC 605-10 605-10”), Revenue Recognition: Overall Effective January 1, 2019, the Group adopted ASU 2014-09, revenue from contracts with Customers (Topic 606) 2014-19”), using 2014-19 Revenue Recognition 2014-19 2014-19 The Group’s revenue recognition effective upon the adoption of ASU 2014-19 The Group enters into legally enforceable and binding agreements with its customers with fixed terms and conditions, including pricing. The Group recognizes revenue at the amount to which it expects to be entitled when control of the products or services are transferred to its customers. Revenues are presented net of taxes collected on behalf of the government. The Group generally does not separately bill its customers for shipping and handling fees and charges. The Group elects to record the costs incurred for shipping and handling in “sales and marketing expenses” in its consolidated statements of comprehensive loss. The shipping and handling costs for the years ended December 31, 2018, 2019 and 2020 were RMB254, RMB1,306 and RMB1,409 (US$216), respectively. Practical Expedients The transaction price allocated to the performance obligations that are unsatisfied, or partially unsatisfied, has not been disclosed as substantially all of the Group contracts have a duration of one year or less. Air mobility solutions Revenues from air mobility solutions are primarily product revenues from the sales of passenger-grade AAVs based on firm customer orders with fixed terms and conditions, including pricing, net of discounts, if any. The performance obligation under the contract is the delivery of passenger-grade AAVs, which is satisfied at a point in time, in general upon the Group’s receipt of acknowledgement receipts from customers. The Group only provides the right of return for defective goods in connection with its warranty policy which is accounted for as an assurance-type warranty (Note 11). Smart city management solutions The Group enters into contracts with its customers for designing, building and delivering customized integrated command-and-control one-year command-and-control cost-to-cost command-and-control command-and-control The Group reviews and updates the estimated total costs of command-and-control command-and-control Contract modifications, defined as changes in the scope or price (or both) of a contract that are approved by the parties to the contract, such as a contract amendment, exist when the parties to a contract approve a modification that either creates new or changes existing enforceable rights and obligations of the parties to the contract. Contract modifications, if any, will be accounting for as one of the following: (i) a separate contract; (ii) a termination of the existing contract and a creation of a new contract; or (iii) a combination of the preceding treatments. A contract modification is accounted for as a separate contract if the scope of the contract increases because of the addition of promised goods or services that are distinct and the price of the contract increases by an amount of consideration that reflects the Group’s standalone selling prices of the additional promised goods or services. When a contract modification is not considered a separate contract and the remaining goods or services are distinct from the goods or services transferred on or before the date of the contract modification, the Group accounts for the contract modification as a termination of the existing contract and a creation of a new contract. When a contract modification is not considered a separate contract and the remaining goods or services are not distinct, the Group accounts for the contract modification as an add-on catch-up Aerial media solutions The Group generates revenue by providing aerial media performance services and related products. Aerial media performance services allow multiple smart control-based drones to demonstrate and transform their formation to display diversified messages and images in specific airspace, that is tailor made based on different branding or advertising requirements. The Group uses self-produced drones and customizes the fleet formation performances based on customer’s needs and availability of airspace approval in the area. The performance is usually completed within a day and revenue is recognized when the service is delivered. The Group also sells hardware and software components of the aerial media performance drones. As the hardware and software components are highly interdependent, the entire bundle of promised goods are considered one performance obligation within the context of the contract. The single performance obligation is satisfied at a point in time, which is upon customer acceptance of the products. Others The Group generates other revenues mainly from stand-alone sales of consumer drones and their components and spare parts. Revenues are recognized when the consumer drones are shipped and the control of the drones are transferred to the customers. The Group started to phase out the consumer drone business in late 2016. (r) Cost of revenue Cost of revenue consists primarily of aerial vehicle material and manufacturing costs, construction costs of smart city management solutions, product warranty costs, depreciation, rental fees, payroll and related costs of operations. (s) Product warranty liability The Group offers standard warranties to replace or repair defects on certain hardware parts of its passenger-grade AAVs for a period of six months to three years. The Group does not provide warranties to guarantee that the AAVs will perform as expected or in accordance with published specifications or provide expected benefits. The Group also provides a standard warranty for hardware and software for the command-and-control back-to-back de-bugging Product warranty accrual is included in accrued expenses and other current liabilities in the accompanying consolidated balance sheets (Note 11). (t) Advertising expenditures Advertising expenditures are expensed as incurred and are included in sales and marketing expenses, which amounted to RMB903, RMB3,422 and RMB1,965 (US$301) for the years ended December 31, 2018, 2019 and 2020, respectively. (u) Research and development expenses Research and development expenses include payroll, employee benefits, and other operating expenses such as rent, depreciation and other related expenses. The Group capitalizes costs to develop or obtain internal-use internal-use 350-40 350-40”), Internal-Use internal-use The Group also incurs cost to develop software embedded in its products. The software components cannot function or be sold separately from the AAV as a whole. The Group accounts for costs incurred in the development of software embedded in its products in accordance with ASC 985-20 985-20”), Costs of Software to be Sold, Leased, or Marketed (v) Leases Leases are classified at the inception date as either a capital lease or an operating lease. A lease is a capital lease if any of the following conditions exists: a) ownership is transferred to the lessee by the end of the lease term, b) there is a bargain purchase option, c) the lease term is at least 75% of the leased asset’s estimated remaining economic life or d) the present value of the minimum lease payments at the beginning of the lease term is 90% or more of the fair value of the leased asset to the lessor at the inception date. A capital lease is accounted for as if there was an acquisition of an asset and an incurrence of an obligation at the inception of the lease. The Group did not enter into any capital leases as a lessor or lessee for any of the periods presented. Leases are accounted for as operating leases wherein rental payments are expensed on a straight-line basis over the periods of their respective lease terms. The Group leases office space and employee accommodation under operating lease agreements. Certain lease agreements contain rent holidays and escalating rent. Rent holidays and escalating rent are considered in determining the straight-line rent expense to be recorded over the lease term. The lease term begins on the date of initial possession of the lease property for purposes of recognizing lease expense on a straight-line basis over the term of the lease. (w) Government subsidies Government subsidies primarily consist of financial subsidies received from provincial and local governments for operating a business in their jurisdictions and compliance with specific policies promoted by the local governments. There are no defined rules and regulations to govern the criteria necessary for companies to receive such benefits, and the amount of financial subsidy is determined at the discretion of the relevant government authorities. The government subsidies of operating nature with no further conditions to be met are recorded in “other operating income” when received. The government subsidies with certain operating conditions are recorded as “deferred government subsidies” on the consolidated balance sheet when received and are recorded as operating income when the conditions are met. (x) Income taxes The Group follows the liability method of accounting for income taxes in accordance with ASC 740 (‘‘ASC 740’’), Income Taxes more-likely-than-not The Group accounted for uncertainties in income taxes in accordance with ASC 740. Interest and penalties arising from underpayment of income taxes shall be computed in accordance with the related PRC tax law. The amount of interest expense is computed by applying the applicable statutory rate of interest to the difference between the tax position recognized and the amount previously taken or expected to be taken in a tax return. Interest and penalties recognized in accordance with ASC 740 are classified in the consolidated statements of comprehensive loss as income tax expense. (y) Share-based compensation The Group applies ASC 718 (‘‘ASC 718’’), Compensation—Stock Compensation The Group has elected to recognize compensation expense using the straight-line method for share-based awards granted with service conditions that have a graded vesting schedule. The Group, with the assistance of an independent third-party valuation firm, determined the grant date fair value of the awards granted to employees. The Group accounts for forfeitures as they occur. A change in any of the terms or conditions of share-based payment awards is accounted for as a modification of awards. The Group measures the incremental compensation cost of a modification as the excess of the fair value of the modified awards over the fair value of the original awards immediately before its terms are modified, based on the share price and other pertinent factors at the modification date. For vested awards, the Group recognizes incremental compensation cost in the period the modification occurred. For unvested awards, the Company recognizes, over the remaining requisite service period, the sum of the incremental compensation cost and the remaining unrecognized compensation cost for the original award on the modification date. If the fair value of the modified award is lower than the fair value of the original award immediately before modification, the minimum compensation cost the Group recognizes is the cost of the original award. (z) Employee benefit expenses Full time employees of the Group in the PRC participate in a government mandated multi-employer defined contribution plan pursuant to which certain pension benefits, medical care, unemployment insurance, employee housing fund and other welfare benefits are provided to employees. Chinese labor regulations require that the Group make contributions to the government for these benefits based on certain percentages of the employees’ salaries. The Group has no legal obligation for the benefits beyond the contributions. The total expenses the Group incurred for the plan were RMB7,486, RMB8,637 and RMB4,022 (US$616) for the years ended December 31, 2018, 2019 and 2020, respectively. (aa) Comprehensive income (loss) Comprehensive income (loss) is defined as the changes in equity of the Group during a period from transactions and other events and circumstances excluding transactions resulting from investments by owners and distributions to owners. Among other disclosures, ASC 220, Comprehensive Income, available-for-sale (ab) Loss per share In accordance with ASC 260 (“ASC 260”), Earnings per Share, basic loss per share is computed by dividing net loss attributable to ordinary shareholders by the weighted average number of ordinary shares outstanding during the period using the two-class two-class For the periods before the Company’s IPO on December 12, 2019 and the automatic conversion of the redeemable convertible preferred shares (Note 18) into ordinary shares, the computation of basic loss per share using the two-class two-class Ordinary share equivalents are excluded from the computation of diluted loss per share for all periods presented as their effects would be anti-dilutive. (ac) Modification of redeemable convertible preferred shares The Group assesses whether an amendment to the terms of its Redeemable Convertible Preferred Shares is an extinguishment or a modification using the fair value model. If the fair value of the redeemable convertible preferred shares immediately after the amendment changes by more than 10 percent from the fair value of the redeemable convertible preferred shares immediately before the amendment, the amendment is considered an extinguishment. An amendment that does not meet this criterion is a modification. When redeemable convertible preferred shares are extinguished, the difference between the fair value of the consideration transferred to the redeemable convertible preferred shareholders and the carrying amount of the redeemable convertible preferred shares (net of issuance costs) is treated as a deemed dividend to the redeemable convertible preferred shareholders. When redeemable convertible preferred shares are modified, the increase of the fair value immediately after the amendment is treated as a deemed dividend to the redeemable convertible preferred shareholders. Modifications that result in a decrease in the fair value of the redeemable convertible preferred shares are not recognized. (ad) Segment reporting In accordance with ASC 280 (“ASC 280”), Segment Reporting The following table presents revenue by customer incorporation location for the years ended December 31, 2018, 2019 and 2020, respectively: For the year ended December 31, 2018 2019 2020 RMB % RMB % RMB US$ % PRC 66,465 100 % 109,760 90 % 164,153 25,157 91 % North America — — 3,445 3 % 6,878 1,054 4 % East Asia — — — — 4,550 697 3 % Europe — — 5,035 4 % 2,388 366 1 % West Asia — — 2,777 2 % 2,124 326 1 % Other 22 — 797 1 % — — — Total net revenues 66,487 100 % 121,814 100 % 180,093 27,600 100 % (ae) Collaborative arrangement In April 2016, the Group entered into a development and purchase collaborative arrangement with a U.S. biotechnology company (“Biotech Customer”) to design, develop, test-run e-helicopter As part of the same arrangement, the Group may sell 1,000 units of customized AAVs with the organ transport e-helicopter system conforming to the functional specifications by the Biotech Customer for according to a 15-year (af) Recent accounting pronouncements The Company is an emerging growth company (“EGC”) as defined by the Jumpstart Our Business Startups Act (“JOBS Act”). The JOBS Act provides that an EGC can take advantage of an extended transition period for complying with new or revised accounting standards. This allows an EGC to delay adoption of certain accounting standards until those standards would otherwise apply to private companies. The Group elected to take advantage of the extended transition period. However, this election will not apply should the Group cease to meet the definition of an EGC. In February 2016, the FASB issued ASU 2016-02 2016-02”), Leases, which specifies the accounting for leases. For operating leases, ASU 2016-02 right-of-use 2019-10 2019-10”), 2016-02 2016-02 In June 2016, the FASB issued ASU 2016-13 2016-13”), Financial Instruments — Credit Losses (Topic 326), Measurement of Credit Losses on Financial Instruments 2016-13 available-for-sale 2019-10, 2016-13 Financial Instruments—Credit Losses (Topic 326) and Leases (Topic 842)—Amendments to SEC Paragraphs Pursuant to SEC Staff Accounting Bulletin No. 119 and Update to SEC Section on Effective Date Related to Accounting Standards Update No. 2016-02, Leases (Topic 842) 2016-13 In December 2019, the FASB issued ASU 2019-12, Simplifying the Accounting for Income Taxes step-up |