XML 29 R9.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Summary of significant accounting policies | 12 Months Ended
--- | ---
Dec. 31, 2023
Summary of significant accounting policies |
Summary of significant accounting policies | 2. Summary of significant accounting policies
(a) | Basis of presentation
The consolidated financial statements of the Group have been prepared in accordance with the accounting principles generally accepted in the United States of America (“U.S. GAAP”). Significant accounting policies followed by the Group in the preparation of the accompanying consolidated financial statements are summarized below. 2. Summary of significant accounting policies (continued)
(b) | Principles of Consolidation
The consolidated financial statements include the financial statements of the Company and its subsidiaries for which the Company is the ultimate primary beneficiary. All transactions and balances among the Company and its subsidiaries have been eliminated upon consolidation. A subsidiary is an entity in which the Company, directly or indirectly, controls more than one half of the voting power, has the power to appoint or remove the majority of the members of the board of directors (the “Board”), to cast majority of votes at the meeting of the Board or to govern the financial and operating policies of the investee under a statute or agreement among the shareholders or equity holders.
(c) | Use of estimates
The preparation of the consolidated financial statements in conformity with U.S. GAAP requires the Group to make estimates and assumptions that affect the reported amounts of assets and liabilities, mezzanine equity and related disclosures of contingent liabilities as of the date of the consolidated financial statements and the reported amounts of revenue and expenses during the reporting period. Actual results could differ from those estimates. Significant accounting estimates are used for, but not limited to, the valuation and recognition of share-based compensation arrangements, allowance for credit losses, lower of cost and net realizable value of inventories, fair value of ordinary shares and convertible redeemable preferred shares.
(d) | Segment reporting
The Group engages primarily in the business-to-business trading and services of industrial products through its platform. The Group’s chief operating decision maker, who has been identified as the Chief Executive Officer reviews the consolidated results when making decisions about allocating resources and assessing performance of the Group as a whole and hence, the Group has only one reportable segment. The Group does not distinguish expenses and related assets and liabilities between markets or segments for the purpose of internal reports. As the Group’s long-lived assets are all located in the PRC and substantially all the Group’s revenues are derived from the PRC, no geographical segments are presented.
(e) | Functional currency and foreign currency translation
The Group’s reporting currency is Renminbi (“RMB”). The functional currency of the Group’s entities incorporated in Cayman Islands, BVI and Hong Kong is U.S. dollars (“US$”). The functional currency of all the other significant subsidiaries is RMB. The determination of the respective functional currency is based on the criteria of ASC Topic 830, Foreign Currency Matters. 2. Summary of significant accounting policies (continued)
(e) | Functional currency and foreign currency translation (continued)
Transactions denominated in currencies other than functional currency are translated into functional currency at the exchange rates quoted by authoritative banks prevailing at the dates of the transactions. Exchange gains and losses resulting from those foreign currency transactions denominated in a currency other than the functional currency are recorded as a component of others, net in the consolidated statements of comprehensive loss. Total exchange gains/(losses) were a loss of RMB8,205, a gain of RMB13,733, and a loss of RMB11,061 for the years ended December 31, 2021, 2022 and 2023, respectively. The consolidated financial statements of the Group are translated from the functional currency into RMB. Assets and liabilities denominated in foreign currencies are translated into RMB using the applicable exchange rates at the balance sheet date. Equity accounts other than earnings generated in current period are translated into RMB at the appropriate historical rates. Revenues, expenses, gains and losses are translated into RMB using the periodic average exchange rates. The resulting foreign currency translation adjustments are recorded in other comprehensive loss in the consolidated statements of comprehensive loss, and the accumulated currency translation adjustments are presented as a component of accumulated other comprehensive (loss) gain in the consolidated statements of shareholders’ equity/(deficit).
(f) | Fair value
Accounting guidance defines fair value as the price that would be received from selling an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. When determining the fair value measurement for assets and liabilities required or permitted to be recorded at fair value, the Group considers the principal or most advantageous market in which it would transact and it considers assumptions that market participants would use when pricing the asset or liability. Accounting guidance establishes a fair value hierarchy that requires an entity to maximize the use of observable inputs and minimize the use of unobservable inputs when measuring fair value. A financial instrument’s categorization within the fair value hierarchy is based upon the lowest level of input that is significant to the fair value measurement. Accounting guidance establishes three levels of inputs that maybe used to measure fair value: Level 1 — Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. Level 2 — Include other inputs that are directly or indirectly observable in the marketplace. Level 3 — Unobservable inputs which are supported by little or no market activity. Accounting guidance also 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. Financial assets and liabilities of the Group not measured at fair value mainly consist of cash and cash equivalents, restricted cash, accounts receivable, notes receivable, certain other current assets and certain accruals and other liabilities. As of December 31, 2022 and 2023, the carrying values of these financial instruments approximated their fair values due to their short-term maturity. 2. Summary of significant accounting policies (continued)
(g) | Cash and cash equivalents
Cash and cash equivalents consist of demand deposit, time deposits with original maturities less than three months and cash placed with banks and third-party payment processor, which are unrestricted as to withdrawal or use.
(h) | Restricted cash
Cash that is restricted as to withdrawal or for use or pledged as security is reported separately on the face of the consolidated balance sheets, and is included in the total cash, cash equivalents, and restricted cash in the consolidated statements of cash flows. The Group’s restricted cash mainly represents pledged time deposit, security deposits held in designated bank accounts for issuance of bank acceptance and letter of guarantee.
(i) | Short-term investments
Short-term investments consist primarily of investments in wealth management products issued by banks, money market fund and time deposit placed with bank with original maturities longer than three months but less than one year. These investments are stated at fair value. Changes in the fair value are reflected in interest and investment income, net in the consolidated statements of comprehensive loss.
(j) | Derivatives
Derivatives are initially recognized at fair value on the date a derivative contract is entered into and are subsequently remeasured to their fair value at each reporting date. All derivatives are carried as assets when the fair values are positive and as liabilities when the fair values are negative. Derivative financial instruments are neither held nor issued by the Company for trading purposes. In the normal course of business, the Company uses derivative financial instruments to manage foreign currency exchange rate risk. Currency exposure is monitored and managed by the Company as part of its risk management program which seeks to reduce the potentially adverse effects that market volatility could have on operating results. The company uses forward contracts to economically hedge, on a net basis, the foreign currency exposure of a portion of the company’s nonfunctional currency assets and liabilities. The terms of these forward contracts are generally less than one year. ​ 2. Summary of significant accounting policies (continued)
(k) | Accounts receivable and allowance for credit losses
Accounts receivable represents the amounts that the Group has an unconditional right to consideration and is recorded net of allowance for credit losses. The Group estimated allowance for credit losses to reserve for potentially uncollectible receivable amounts periodically, considering factors in assessing the collectability of its accounts receivable, such as historical distribution of the age of the amounts due, payment history, creditworthiness, forward-looking factor, historical collections data of the customers, to assess the credit risk characteristics. If there is strong evidence indicating that the accounts receivable is likely to be unrecoverable, the Group also makes specific allowance in the period in which a loss is determined to be probable. Accounts receivable is considered impaired and written- off when it is probable that all contractual payments due will not be collected after all collection efforts have been exhausted.
(l) | Notes receivable
Notes receivable are primarily bank acceptance notes. The Group accepts bank acceptance notes from customers for products sold or services performed in the ordinary course of business. Bank acceptance notes are primarily negotiable instruments with cash settlement from commercial banks within half a year. Upon receipt of the bank acceptance notes, the Group’s accounts receivable from the customer is derecognized. The bank acceptance notes can also be endorsed to suppliers as settlement of accounts payable. Bank acceptance notes of RMB192,691 and RMB143,752 were endorsed to suppliers as of December 31, 2022 and 2023 respectively.
(m) | Current expected credit losses
In June 2016, the Financial Accounting Standards Board (“FASB”) issued ASU 2016-13, Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments (“ASC 326”), which requires entities to measure all expected credit losses for financial assets held at the reporting date, including accounts receivable and notes receivable, using a current expected credit loss model based on historical experience adjusted for judgments about the effects of relevant observable data, including current and future economic conditions periodically. The Group estimates the allowance for accounts receivable based on historical collection activity, current business environment and forecasts of future macroeconomic conditions that may affect the customers’ ability of payment. The accounts receivable was segmented into groups based on certain credit risk characteristics, and the Group determined expected loss rates for each group based on historical loss experience adjusted for judgments about the effects of relevant observable data including historical default rates, lifetime for debt recovery, current and future economic conditions.
(n) | Inventories
Inventories, primarily consisting of products available for sale, are stated at the lower of cost and net realizable value. Cost of inventories is determined using the weighted average cost method. Adjustments are recorded to write down the cost of inventories to the estimated net realizable value due to slow-moving merchandise and damaged goods, which is dependent upon factors such as historical and forecasted consumer demand, and promotional environment. The Group takes ownership, risks and rewards of the products purchased. Write downs are recorded in cost of revenues in the consolidated statements of comprehensive loss. The Group also provides fulfillment-related services in connection with the Group’s marketplace. Third-party sellers maintain ownership of their inventories and therefore these products are not included in the Group’s inventories. 2. Summary of significant accounting policies (continued)
(o) | Property and equipment, net
Property and equipment are stated at cost less accumulated depreciation and any impairment loss. Depreciation is computed using the straight-line method with 5% residual value based on the estimated useful lives of the various classes of assets, which range as follows: ​
​ | ​ | ​
Furniture and office equipment |  | 3 – 5 years
Machinery | ​ | 5 – 10 years
Vehicles | ​ | 3 – 5 years
Computer equipment | ​ | 3 – 5 years
Leasehold improvement | ​ | shorter of remaining lease period and estimated useful life
​ Expenditures for maintenance and repairs are expensed as incurred. The gain or loss on the disposal of property and equipment is the difference between the net sales proceeds and the carrying amount of the relevant assets and is recognized in other income, net in the consolidated statements of comprehensive loss.
(p) | Intangible assets, net
Intangible assets purchased from third parties are initially recorded at cost and amortized on a straight-line basis over the estimated economic useful lives. The Group performs valuation of the intangible assets arising from business combination to determine the fair value to be assigned to each asset acquired. The acquired intangible assets are recognized and measured at fair value and are expensed or amortized using the straight-line approach over the estimated economic useful lives of the assets. The estimated useful lives of intangible assets are as follows: ​
​ | ​ | ​
Trademarks |  | 10 years
Patent right | ​ | 10 years
Software | ​ | 3 – 5 years
Customer relationship | ​ | 10 years
​
(q) | Business combinations and non-controlling interests
The Group accounts for its business combinations using the acquisition method of accounting. The cost of an acquisition is measured as the aggregate of the acquisition date fair value of the assets transferred to the sellers, liabilities incurred by the Group and equity instruments issued by the Group. Transaction costs directly attributable to the acquisition are expensed as incurred. Identifiable assets acquired and liabilities assumed are measured separately at their fair values as of the acquisition date, irrespective of the extent of any non-controlling interests. The excess of (i) the total of consideration paid fair value of the non-controlling interests over (ii) the fair value of the identifiable net assets of the acquiree is recorded as goodwill. 2. Summary of significant accounting policies (continued)
(q) | Business combinations and non-controlling interests (continued)
For the Company’s non-wholly owned subsidiaries, a non-controlling interest is recognized to reflect the portion of equity that is not attributable, directly or indirectly, to the Company. Non-controlling interests are classified as a separate line item in the equity section of the Group’s consolidated balance sheets. When the non-controlling interest is redeemable at the option of the holders, which is not solely within the control of the Company, the non-controlling interest is classified as mezzanine equity. The Company accretes changes in the redemption value over the period from the date that it becomes probable that the mezzanine equity will become redeemable to the earliest redemption date using the effective interest method. Consolidated net loss or income in the consolidated statements of comprehensive loss includes net income attributable to non-controlling interests and mezzanine equity holders when applicable. Cash flows related to transactions with non-controlling interests are presented under financing activities in the consolidated statements of cash flows.
(r) | Goodwill
Goodwill represents the excess of (i) the total of consideration paid fair value of the non-controlling interests over (ii) the fair value of the identifiable net assets of the acquiree. Goodwill is not depreciated or amortized but is tested for impairment on an annual basis, and between annual tests when an event occurs or circumstances change that could indicate that the asset might be impaired. The annual impairment test includes an option to assess qualitative factors to determine whether it is more likely than not that the fair value of a reporting unit is less than its carrying amount. In the qualitative assessment, the Group considers primary factors such as industry and market considerations, overall financial performance of the reporting unit, and other specific information related to the operations. If the Group decides, as a result of its qualitative assessment, that it is more likely than not that the fair value of a reporting unit is less than its carrying amount, the quantitative impairment test is mandatory. Otherwise, no further testing is required. The quantitative impairment test consists of a comparison of the fair value based on discounted cash flow of each reporting unit with its carrying amount, including goodwill. If the carrying amount of a reporting unit exceeds its fair value, an impairment loss equal to the difference will be recorded. The impairment charge would be recorded in the consolidated statements of comprehensive loss. There is no event or any circumstance that the Company identified, which indicated that the fair value of the Company’s reporting unit was below its carrying value. No impairment of goodwill was recognized for the years ended December 31, 2021, 2022 and 2023.
(s) | Leases
The Group accounts for leases in accordance with ASC 842, Leases (“ASC 842”), which requires lessees to recognize leases on the balance sheet and disclose key information about leasing arrangements. The Group categorizes leases with contractual terms longer than twelve months as either operating or finance lease. 2. Summary of significant accounting policies (continued)
(s) | Leases (continued)
The Group determines if a contract contains a lease based on whether it has the right to obtain substantially all of the economic benefits from the use of an identified asset which the Group does not own and whether it has the right to direct the use of an identified asset in exchange for consideration. Operating lease right-of-use (“ROU”) assets represent the Group’s right to use an underlying asset for the lease term and lease liabilities represent the Group’s obligation to make lease payments arising from the lease. ROU assets are recognized as the amount of the lease liability, adjusted for lease incentives received. Lease liabilities are recognized at the present value of the future lease payments at the lease commencement date. The interest rate used to determine the present value of the future lease payments is the Group’s incremental borrowing rate (“IBR”), because the interest rate implicit in most of the Group’s leases is not readily determinable. The IBR is a hypothetical rate based on the Group’s understanding of what its credit rating would be to borrow and resulting interest the Group would pay to borrow an amount equal to the lease payments in a similar economic environment over the lease term on a collateralized basis. The amortization of the right-of-use asset is described as the difference between the straight-line lease expense and the accretion of interest on the lease liability each period. The land use rights are operating leases with term of about 50 years. Other than the land use rights, the lease terms of operating and finance leases vary from more than a year to 20 years. Operating leases are included in land use right, operating lease right-of-use assets, current and non- current operating lease liabilities on the Group’s consolidated balance sheets. Finance leases are included in property and equipment, net, other current and non-current liabilities on the Group’s consolidated balance sheets. As of December 31, 2022 and 2023, all of the Group’s ROU assets were generated from leased assets in the PRC.
(t) | Revenue recognition
Under ASC 606, the Group recognizes revenues when the Group satisfies a performance obligation by transferring a promised good or service (that is, an asset) to a customer. An asset is transferred when the customer obtains control of that asset. The Group evaluates whether it is appropriate to record the gross amount of product sales and related costs or the net amount earned as commissions. When the Group is a principal, that the Group obtains control of the specified goods or services before they are transferred to the customers, the revenues should be recognized in the gross amount of consideration to which it expects to be entitled in exchange for the specified goods or services transferred. When the Group is an agent and its obligation is to facilitate third parties in fulfilling their performance obligation for specified goods or services, the revenues should be recognized in the net amount for the amount of commission which the Group earns in exchange for arranging for the specified goods or services to be provided by other parties. Revenues should be recognised, after deducting discounting and estimated cash rebates, as the Group does not receive a good or service that is distinct in exchange for discount or rebates granted to customers and be recorded net of value-added taxes. Revenue arrangements with multiple deliverables are divided into separate units of accounting based on the selling price of each separate unit. ​ 2. Summary of significant accounting policies (continued)
(t) | Revenue recognition (continued)
Net product revenues The Group recognizes the net product revenues from the product sales model on a gross basis as the Group is acting as a principal in these transactions and is responsible for fulfilling the promise to provide the specified goods. The Group recognizes revenue net of discounts and return allowances when the products are delivered to customers. Judgement is required to estimate return allowances. The Group reasonably estimates the possibility of sales return based on the historical experience. Based on management’s assessment, as of December 31, 2022 and 2023, liabilities for return allowances were insignificant. Net service revenues Under marketplace model, the Group charges commission fees to third-party merchants, where the Group generally is acting as an agent and its performance obligation is to arrange for the provision of the specified goods or services by those third-party merchants to customers of the platform. Upon successful sales to customers of the platform, the Group charges the third-party merchants a fixed rate commission fee based on the sales amount. The net service revenues are recognized on a net basis at the point of delivery of products, net of return allowances. Accounts and notes receivable related to the marketplace service amounts to RMB489,777 and RMB964,587 as of December 31, 2022 and 2023, respectively, which are billed to end customers on gross basis on behalf of the third-party merchants. Other revenues The Group rents certain machinery and equipment as operating lease. Revenues resulting from operating lease are recognized over the contractual lease period on straight line basis. The Group also provides testing and repairment services and warehousing and logistics services. Revenues resulting from these services are recognized when the Group rendered such services.
(u) | Advances from customers
Amounts recorded in the advance from customers account represent cash payments made upfront by the Group’s customers under each sales contract, related to unsatisfied performance obligation at the end of the period. The amounts in the advance from customers would be recognised as revenue when the revenue recognition criteria are met.
(v) | Cost of revenue
Cost of revenues consists primarily of purchase price of products, inbound shipping charges, write- downs of inventories and the rebates from suppliers. The rebates we receive from suppliers are treated as a reduction in the purchase price and will be recorded as a reduction in cost of revenues when the product is sold. The cost of revenues does not include shipping and handling expenses, payroll and benefits of logistic staff or logistic centers rental expenses, therefore cost of revenues of the Group may not be comparable to other companies which include such expenses in their cost of revenues. Cost of revenues mainly represents that under the product sales model. 2. Summary of significant accounting policies (continued)
(w) | Fulfillment
Fulfillment expenses consist primarily of (i) expenses incurred in operating the Group’s distribution centers and transit warehouses, including personnel cost and expenses attributable to receiving, inspecting and warehousing inventories, picking, packaging, preparing customer orders for shipment, and dispatching and delivering, (ii) lease expenses of distribution centers and transit warehouses, (iii) depreciation of vehicle and equipment, (iv) expenses charged by third-party couriers for dispatching and delivering the Group’s products. Shipping cost included in fulfillment expenses amounted to RMB111,592, RMB105,420 and RMB103,940 for the years ended December 31, 2021, 2022 and 2023, respectively.
(x) | Sales and marketing
Sales and marketing expenses consist primarily of payroll and related expenses for employees involved in sales and marketing activities, and advertising costs. Advertising costs included in sales and marketing expenses are expensed as incurred, and amounted to RMB50,412, RMB18,730 and RMB34,830 for the years ended December 31, 2021, 2022 and 2023, respectively.
(y) | Research and development
Research and development expenses consist primarily of payroll and related expenses for research and development employees involved in designing, developing and maintaining software technology platform, and technology infrastructure costs. Software development costs are recorded in “Research and development” as incurred as the costs qualifying for capitalization have been insignificant.
(z) | General and administrative
General and administrative expenses consist primarily of employee related expenses for product line and other general corporate functions, including administration, finance, tax, legal and human relations; costs associated with these functions including facilities and equipment depreciation expenses, professional fee, rental and other general corporate related expenses.
(aa) | Share-based compensation
The Group grants share options (collectively, “Share-based Awards”) to eligible employees and directors under the share incentive plan. The Group accounts for share-based compensation in accordance with ASC 718, Compensation—Stock Compensation. Share-based awards with service conditions only are measured at the grant date fair value of the awards and recognized as expenses using the graded-vesting method, over the requisite service period. Share-based awards that are subject to both service conditions and the occurrence of IPO as performance condition, are measured at the grant date fair value. Cumulative share-based compensation expenses for the awards that have satisfied the service condition were recorded upon the completion of the IPO, using the graded-vesting method. The Group adopted ASU 2016-09 to recognize the impact of forfeiture within compensation expense, when they occur. 2. Summary of significant accounting policies (continued)
(aa) | Share-based compensation (continued)
Management applies significant judgment in determining the fair value of share-based awards at grant dates given that the ordinary shares underlying the awards were not publicly traded at the time of grant. Fair value of the ordinary shares was determined and allocated using the income approach and equity allocation model, each of which requires complex and subjective judgments regarding the expected revenue growth rates, operating profit margins, discount rates, terminal growth rates, a discount for lack of marketability (“DLOM”) and probability of the three scenarios assumed under the equity allocation model, namely: (i) the liquidation scenario, (ii) the redemption scenario, and (iii) the mandatory conversion scenario. The fair value of Share options is estimated on the grant date using the Binomial option-pricing model where management also applies judgment related to the expected volatility, risk-free interest rate, expected dividend yield, exercise multiple and expected post-vesting forfeiture rate. The assumptions used in share-based compensation expenses recognition represent management’s best estimates, but these estimates involve inherent uncertainties and application of management judgment. If factors change or different assumptions are used, the share-based compensation expenses could be materially different for any period. Moreover, the estimates of fair value of the awards are not intended to predict actual future events or the value that ultimately will be realized by grantees who receive Share- based Awards, and subsequent events are not indicative of the reasonableness of the original estimates of fair value made by the Group for accounting purposes. (bb) Other employee benefits Employees of the Group in the PRC are entitled to staff welfare benefits including pension benefits, work-related injury benefits, maternity insurance, medical insurance, unemployment benefit and housing fund plans through a PRC government-mandated multi-employer defined contribution plan. The Group is required to contribute to the plan based on certain percentages of the employees’ salaries, up to a maximum amount specified by the local government. The PRC government is responsible for the medical benefits and the pension liability to be paid to these employees and the Group’s obligations are limited to the amounts contributed and no legal obligation beyond the contributions made. Employee social security and welfare benefits included as expenses amounted to RMB291,839, RMB339,155 and RMB323,685 for the years ended December 31, 2021, 2022 and 2023, respectively. (cc) Income tax Current income taxes are provided on the basis of net income for financial reporting purposes, adjusted for income and expense items which are not assessable or deductible for income tax purposes, in accordance with the regulations of the relevant tax jurisdictions. The Group follows the liability method of accounting for income taxes. Under this method, deferred tax assets and liabilities are determined based on the temporary differences between the financial statements carrying amounts and tax bases of existing assets and liabilities by applying enacted statutory tax rates that will be in effect in the period in which the temporary differences are expected to reverse. The Group records a valuation allowance to reduce the amount of deferred tax assets if based on the weight of available evidence, it is more-likely-than-not that some portion, or all, of the deferred tax assets will not be realized. The effect on deferred taxes of a change in tax rates is recognized in the consolidated statements of comprehensive loss in the period of change. Deferred tax assets and liabilities are classified as non-current in the consolidated balance sheets. 2. Summary of significant accounting policies (continued) (cc) Income tax (continued) The Group recognizes in its consolidated financial statements the benefit of a tax position if the tax position is “more likely than not” to prevail based on the facts and technical merits of the position. Tax positions that meet the “more likely than not” recognition threshold are measured at the largest amount of tax benefit that has a greater than fifty percent likelihood of being realized upon settlement. The Group estimates its liability for unrecognized tax benefits which are periodically assessed and may be affected by changing interpretations of laws, rulings by tax authorities, changes and/or developments with respect to tax audits, and expiration of the statute of limitations. The ultimate outcome for a particular tax position may not be determined with certainty prior to the conclusion of a tax audit and, in some cases, appeal or litigation process. The actual benefits ultimately realized may differ from the Group’s estimates. As each audit is concluded, adjustments, if any, are recorded in the Group’s consolidated financial statements in the period in which the audit is concluded. Additionally, in future periods, changes in facts, circumstances and new information may require the Group to adjust the recognition and measurement estimates with regard to individual tax positions. Changes in recognition and measurement estimates are recognized in the period in which the changes occur. As of December 31, 2022 and 2023, the Group did not have any significant unrecognized uncertain tax positions. (dd) Government grants Government grants are recognized as income in other income, net or as a reduction of specific costs and expenses for which the grants are intended to compensate. Such amounts are recognized in the consolidated income statements upon receipt and when all conditions attached to the grants are fulfilled. Government grants included as other income in the consolidated statements of comprehensive loss amounted to RMB17,832, RMB24,330 and RMB71,503 for the years ended December 31, 2021, 2022 and 2023, respectively. (ee) Statutory reserves The Company’s subsidiaries established in the PRC are required to make appropriations to certain non-distributable reserve funds. In accordance with the laws applicable to the Foreign Investment Enterprises established in the PRC, the Company’s subsidiaries registered as wholly-owned foreign enterprise have to make appropriations from their after-tax profits (as determined under generally accepted accounting principles in the PRC (“PRC GAAP”)) to reserve funds including general reserve fund, enterprise expansion fund and staff bonus and welfare fund. The appropriation to the general reserve fund must be at least 10% of the after-tax profits calculated in accordance with the PRC GAAP. Appropriation is not required if the general reserve fund has reached 50% of the registered capital of the Company. Appropriations to the enterprise expansion fund and staff bonus and welfare fund are made at the respective company’s discretion. In addition, in accordance with the PRC Company Laws, the ‘Company’s subsidiaries, registered as Chinese domestic companies, must make appropriations from their after-tax profits as determined under the PRC GAAP to non-distributable reserve funds including statutory surplus fund and discretionary surplus fund. The appropriation to the statutory surplus fund must be 10% of the after-tax profits as determined under the PRC GAAP. 2. Summary of significant accounting policies (continued) (ee) Statutory reserves (continued) Appropriation is not required if the statutory surplus fund has reached 50% of the registered capital of the Company. Appropriation to the discretionary surplus fund is made at the discretion of the respective company. The use of the general reserve fund, enterprise expansion fund, statutory surplus fund and discretionary surplus fund are restricted to the offsetting of losses or increasing of the registered capital of the respective company. The staff bonus and welfare fund is a liability in nature and is restricted to fund payments of special bonus to employees and for the collective welfare of employees. None of these reserves are allowed to be transferred to the Company in terms of cash dividends, loans or advances, nor can they be distributed except under liquidation. For the years ended December 31, 2022 and 2023, nil and RMB735 profit appropriation to statutory reserves was made. (ff) Loss per share Basic loss per share is computed by dividing net loss attributable to holders of ordinary shares, considering the accretion on Preferred Shares to redemption value by the weighted average number of ordinary shares outstanding during the period using the two-class method. Under the two-class method, net income is allocated between ordinary shares and other participating securities based on their participating rights. Diluted loss per share is calculated by dividing net loss attributable to ordinary shareholders, as adjusted for the effect of dilutive ordinary equivalent shares, if any, by the weighted average number of ordinary and dilutive ordinary equivalent shares outstanding during the period. Ordinary equivalent shares consist of shares issuable upon the conversion of the Preferred Shares using the if-converted method, and ordinary shares issuable upon the exercise of outstanding share options (using the treasury stock method). Ordinary equivalent shares are not included in the denominator of the diluted earnings per share calculation when inclusion of such shares would be anti-dilutive. (gg) Commitments and contingencies In the normal course of business, the Group is subject to contingencies, such as legal proceedings and claims arising out of its business, that cover a wide range of matters. Liabilities for the contingencies are recorded when it is probable that a liability has been incurred and the amount of the liability can be reasonably estimated. Certain conditions may exist as of the date the consolidated financial statements are issued, which may result in a loss to the Group, but which will only be resolved when one or more future events occur or fail to occur. The Group assesses these contingent liabilities, which inherently involves judgment. In assessing loss contingencies related to legal proceedings that are pending against the Group or unasserted claims that may result in legal proceedings, the Group, in consultation with its legal counsel, evaluates the perceived merits of any legal proceedings or unasserted claims as well as the perceived merits of the amount of relief sought or expected to be sought therein. If the assessment of a contingency indicates that it is probable that a material loss has been incurred and the amount of the liability can be estimated, the estimated liability would be accrued in the consolidated financial statements. If the assessment indicates that a potentially material loss contingency is not probable, or is probable but cannot be estimated, the nature of the contingent liability, together with an estimate of the range of the reasonably possible loss, if determinable and material, would be disclosed. Loss contingencies considered remote are generally not disclosed unless they involve guarantees, in which case the nature of the guarantee would be disclosed. 2. Summary of significant accounting policies (continued) (hh) Recent accounting pronouncements In September 2022, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2022-04, Liabilities—Supplier Finance Programs (Subtopic 405-50): Disclosure of Supplier Finance Program Obligations (“ASU 2022-04”), which requires a buyer in a supplier finance program to disclose sufficient information about the program, enabling users of the financial statements to understand the nature of the program and activity and changes during the period. ASU 2022-04 was effective for fiscal years beginning after December 15, 2022, including interim periods within those fiscal years, except for the requirement on rollforward information, which is effective for fiscal years beginning after December 15, 2023. During the first quarter 2023, the Group adopted ASU 2022-04, which did not have a material impact on our consolidated financial position, results of operations and cash flows. The Group has a supplier finance program whereby they have entered into payment processing agreements with several financial institutions. Under these agreements, the financial institutions act as paying agents with respect to accounts payable due to certain suppliers. Participating suppliers may, at their sole discretion, elect to receive payment for one or more of the payment obligations, prior to their scheduled due dates, at a discounted price from participating financial institutions. The Group is not a party to the agreements between the participating financial institutions and the suppliers in connection with the program, and the Group’s rights and obligations to suppliers are not impacted. The Group does not reimburse suppliers for any costs they incur for participation in the program. The Group has no economic interest in their suppliers’ decision to participate in the program. The Group’s responsibility is limited to making payment to the respective financial institution according to the terms originally negotiated with the supplier, regardless of whether the supplier elects to receive early payment from the financial institution. The payment terms negotiate with suppliers are consistent, irrespective of whether a supplier participates in the program. Current payment terms with a majority of suppliers generally range from 60 to 180 days, which the Group deems to be commercially reasonable. The obligations to suppliers, including amounts due and scheduled payment terms, are not impacted. The outstanding payment obligations under the supplier finance program were RMB186,261 and RMB221,523 as of December 31, 2022 and 2023, respectively, and are recorded within accounts payable on the consolidated balance sheets. The restricted cash pledged for the outstanding payment obligations were RMB15,615 and RMB15,651 as of December 31, 2022 and 2023, respectively, and are recorded within restricted cash on the consolidated balance sheets. The Group does not pledge any other assets as security as part of the program. The associated payments are included in operating activities within the consolidated statements of cash flows. The roll-forwards of the group’s outstanding obligations confirmed as valid under its supplier finance program for years ended December 31, 2022 and 2023, are as follows: ​
​ | ​ | ​ | ​ | ​
​ |  | Year ended December 31,
​ | ​ | 2022 | ​ | 2023
​ | ​ | RMB | ​ | RMB
​ | ​ | ​ | ​ | ​
Balance at the beginning of the year |  | 228,104 |  | 186,261
Invoices confirmed during the year |  | 392,323 |  | 621,071
Confirmed invoices paid during the year |  | (434,166) |  | (585,809)
Balance at the end of the year |  | 186,261 |  | 221,523
​

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for all significant accounting policies of the reporting entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483426/235-10-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 235 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//235/tableOfContent + Details
Name: | us-gaap_SignificantAccountingPoliciesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration