XML 93 R72.htm IDEA: XBRL DOCUMENT
v3.24.1

Summary of significant accounting policies - Prior period reclassifications (Details) ¥ in Thousands, $ in Thousands | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jan. 31, 2022 CNY (¥) | Dec. 31, 2023 CNY (¥) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2023 USD ($)
Reclassification |  |  |  |  |  |
Provisions |  | ¥ 90,871 |  | ¥ 30,716 |  | $ 12,799
Other non-current liabilities |  |  |  | 0 |  |
Selling, general and administrative expenses |  | (928,761) | $ (130,813) | (1,310,207) | ¥ (607,868) |
Change in fair value of an equity security |  | (22,451) | (3,162) | (16,843) | 0 |
Gains on sale of an equity security |  | 0 | 0 | 59,728 | 0 |
Gains on deconsolidation of a subsidiary | ¥ 71,974 | 0 | 0 | 71,974 | 10,579 |
Change in fair value of warrant liabilities |  | (11,719) | (1,651) | 3,245 | 111,299 |
Government grants |  | 11,844 |  | 59,393 | 34,507 |
Foreign currency exchange gains (losses), net |  | (10,349) |  | (18,216) | 18,315 |
Other non-operating (expenses) income, net |  | ¥ (9,237) | $ (1,301) | 152,791 | (47,898) |
Before reclassification |  |  |  |  |  |
Reclassification |  |  |  |  |  |
Provisions |  |  |  | 0 |  |
Other non-current liabilities |  |  |  | 30,716 |  |
Selling and marketing expenses |  |  |  | (86,597) | (82,827) |
General and administrative expenses |  |  |  | (1,223,610) | (525,041) |
Selling, general and administrative expenses |  |  |  | 0 | 0 |
Change in fair value of an equity security |  |  |  | (16,843) | 0 |
Gains on sale of an equity security |  |  |  | 59,728 | 0 |
Gains on deconsolidation of a subsidiary |  |  |  | 71,974 | 10,579 |
Change in fair value of warrant liabilities |  |  |  | 3,245 | 111,299 |
Government grants |  |  |  | 59,393 | 34,507 |
Foreign currency exchange gains (losses), net |  |  |  | ¥ (18,216) | ¥ 18,315 |

X
- Definition Amount of gain (loss) from deconsolidation of subsidiary and derecognition of group of assets constituting transfer of business or nonprofit activity, excluding conveyance of oil and gas mineral rights and transfer of good or service in contract with customer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481203/810-10-50-1B + Details
Name: | us-gaap_DeconsolidationGainOrLossAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 25 -Paragraph 13 -SubTopic 10 -Topic 480 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481766/480-10-25-13 + Details
Name: | us-gaap_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 20 -Name Accounting Standards Codification -Section 35 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482014/830-20-35-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481956/830-20-45-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481926/830-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481839/830-10-45-17 + Details
Name: | us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_GeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of government assistance recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 832 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483507/832-10-50-3 + Details
Name: | us-gaap_GovernmentAssistanceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and due after one year (or beyond the operating cycle if longer) for estimated claims under standard and extended warranty protection rights granted to customers. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-8 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c)(5) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-8 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_ProductWarrantyAccrualNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 205 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483504/205-10-50-1 + Details
Name: | us-gaap_ReclassificationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate total amount of expenses directly related to the marketing or selling of products or services. + References No definition available. + Details
Name: | us-gaap_SellingAndMarketingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_SellingGeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_RestatementAxis=srt_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |