Income tax expense - Components of deferred tax assets and liabilities (Details) ¥ in Thousands, $ in Thousands |
Dec. 31, 2025
CNY (¥)
|
Dec. 31, 2025
USD ($)
|
Dec. 31, 2024
CNY (¥)
|
|---|---|---|---|
| Deferred tax assets: | |||
| Net operating loss carry forwards | ¥ 460,715 | ¥ 455,594 | |
| Allowance for doubtful debts | 24,827 | 23,802 | |
| Impairment of investments | 17,055 | 18,774 | |
| Inventory write-down | 104,633 | 123,762 | |
| Deferred income | 575,505 | 528,094 | |
| Impairment of long-lived assets | 107,901 | 176,607 | |
| Others | 9,586 | 7,763 | |
| Less: valuation allowance | (543,109) | (653,367) | |
| Total deferred tax assets-non-current | 757,113 | $ 108,266 | 681,029 |
| Deferred tax liabilities: | |||
| Fair value adjustments of long-lived assets from business acquisition | 455,587 | 482,128 | |
| Withholding tax on undistributed earnings | 250,000 | 300,000 | |
| Others | 1,735 | 1,735 | |
| Total deferred tax liabilities-non-current | ¥ 707,322 | ¥ 783,863 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income. 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 inventory. 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 allowance, of deferred tax asset attributable to deductible temporary difference from allowance for credit loss on accounts receivable. 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 | ||||||||||
- 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 Deferred tax assets impairment of long lived assets. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from the allowance for other investments. No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities Fair Value Adjustment Of Long Lived Assets From Business Acquisition. No definition available.
|
| X | ||||||||||
- Definition Deferred tax liabilities withholding tax on undistributed earnings. No definition available.
|