Income tax - Components of Deferred Tax Assets and Liabilities (Details) - CNY (¥) ¥ in Thousands |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|---|---|
| Deferred tax assets | ||||
| Net operating loss carry-forwards | ¥ 1,657,491 | ¥ 1,339,819 | ||
| Development Expense | 2,876,708 | 3,419,526 | ||
| Accrued expenses | 520,494 | 355,956 | ||
| Inter-group unrealized profits | 227,014 | 194,486 | ||
| Depreciation and amortization | 371,642 | 150,217 | ||
| Others | 26,499 | 6,415 | ||
| Valuation allowance | (5,339,883) | (5,380,024) | ¥ (3,151,394) | ¥ (1,061,275) |
| Total deferred tax assets, net of valuation allowance | 339,965 | 86,395 | ||
| Deferred tax liabilities: | ||||
| Disposal of an associate | 52,847 | |||
| Others | 4,405 | 8,337 | ||
| Total deferred tax liabilities | 57,252 | 8,337 | ||
| Net deferred tax assets | 282,713 | 78,058 | ||
| Deferred tax liabilities | 57,252 | 8,337 | ||
| Deferred tax assets | ¥ 339,965 | ¥ 86,395 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from investments in unconsolidated subsidiaries and investments in other affiliates which are not controlled nor consolidated. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from development expenses. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from depreciation and amortization. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from inter-group unrealized profits. No definition available.
|