Long term investments - Long-term debt investments (Details) - CNY (¥) ¥ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Long-term investments | |||
| Allowance for credit loss | ¥ 0 | ||
| Amortized cost, after allowance for credit loss | 87,340 | ||
| Gross unrecognized holding gains | 0 | ||
| Interest income held-to-maturity debt securities | 3,449 | ¥ 0 | ¥ 0 |
| Due in 2 years through 5 years | 87,340 | ||
| Long-term debt investments | 144,873 | ||
| Fair value, gain (loss) | ¥ 5,054 | ||
| X | ||||||||||
- Definition Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of operating interest income, including amortization and accretion of premiums and discounts, on held-to-maturity securities. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|