Long-term debt - Schedule of Debt (Details) ¥ in Thousands, $ in Thousands |
Dec. 31, 2025
CNY (¥)
|
Dec. 31, 2025
USD ($)
|
Dec. 31, 2024
CNY (¥)
|
|---|---|---|---|
| Long-Term Debt, Unclassified [Abstract] | |||
| Convertible senior notes | ¥ 4,775,871 | ¥ 95,153 | |
| Long-term bank loans | 3,069,000 | ||
| Other long-term borrowing | 100,000 | ||
| Total | ¥ 4,775,871 | $ 682,940 | ¥ 3,264,153 |
| X | ||||||||||
- Definition Convertible Senior Notes. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of loans from a bank with maturities initially due after one year or beyond the operating cycle if longer, excluding current portion. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|