Related party transactions - Schedule of Allowance for Credit Loss Provision Related to Amounts Due from Related Parties (Details) - CNY (¥) ¥ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Expected Credit Loss Provision Related To Amounts Due From to Related Parties [Abstract] | |||
| Balance at beginning of the year | ¥ (217) | ¥ (302) | ¥ (393) |
| Current year provision | (100) | (219) | (139) |
| Current year reversal | 15 | 304 | 230 |
| Balance at end of the year | ¥ (302) | ¥ (217) | ¥ (302) |