Organization and principal activities - Schedule of Condensed Consolidated Balance Sheets Data for the VIEs (Details) ¥ in Thousands, $ in Thousands |
Dec. 31, 2024
CNY (¥)
|
Dec. 31, 2024
USD ($)
|
Dec. 31, 2023
CNY (¥)
|
Dec. 31, 2022
CNY (¥)
|
[1] |
Dec. 31, 2021
CNY (¥)
|
||
|---|---|---|---|---|---|---|---|---|
| Assets | ||||||||
| Cash and cash equivalents | ¥ 1,188,911 | $ 162,880 | ¥ 511,973 | |||||
| Restricted cash | 17,031 | 2,333 | 18,137 | |||||
| Short-term deposits | 4,075,048 | 558,279 | 6,851,160 | |||||
| Accounts receivable, net | 76,044 | 10,418 | 64,258 | |||||
| Prepayments and other current assets | 523,674 | 71,743 | 556,435 | |||||
| Amounts due from related parties | 207,565 | 148,648 | ||||||
| Investments | 440,790 | 60,388 | 751,844 | |||||
| Long-term deposits | 1,470,000 | 201,389 | 2,553,293 | |||||
| Right-of-use assets, net | 339,492 | 46,510 | 379,006 | |||||
| Total assets | 9,567,811 | 1,310,784 | 12,924,354 | |||||
| Deferred revenue and advances from customers | 265,628 | 36,391 | 412,257 | |||||
| Accrued liabilities and other current liabilities | 1,360,949 | 186,449 | 1,474,827 | |||||
| Amounts due to related parties | 161,529 | 22,129 | 177,714 | |||||
| Total liabilities | (2,017,132) | (276,346) | (2,299,755) | |||||
| Total shareholders' equity | 7,550,679 | $ 1,034,438 | 10,624,599 | ¥ 11,409,391 | ¥ 10,510,201 | |||
| VIEs | ||||||||
| Assets | ||||||||
| Cash and cash equivalents | 11,740 | 7,730 | ||||||
| Restricted cash | 15,891 | 18,137 | ||||||
| Short-term deposits | 430,000 | 130,000 | ||||||
| Accounts receivable, net | 45,545 | 27,795 | ||||||
| Prepayments and other current assets | 288,416 | 232,364 | ||||||
| Amounts due from related parties | 198,115 | 147,582 | ||||||
| Amounts due from Group companies | 724,076 | 954,184 | ||||||
| Investments | 408,952 | 600,096 | ||||||
| Intangible assets, net | 45,045 | 30,364 | ||||||
| Long-term deposits | 60,000 | 360,000 | ||||||
| Right-of-use assets, net | 13,951 | |||||||
| Other assets | 2,440 | 18,604 | ||||||
| Total assets | 2,244,171 | 2,526,856 | ||||||
| Deferred revenue and advances from customers | 288,165 | 445,888 | ||||||
| Accrued liabilities and other current liabilities | 422,230 | 466,890 | ||||||
| Amounts due to related parties | 134,169 | 103,055 | ||||||
| Other Liabilities | 82,408 | 32,489 | ||||||
| Total liabilities | (926,972) | (1,048,322) | ||||||
| Total shareholders' equity | ¥ 1,317,199 | ¥ 1,478,534 | ||||||
| ||||||||
| X | ||||||||||
- Definition The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle). No definition available.
|
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer). No definition available.
|
| X | ||||||||||
- Definition Consolidated carrying amount assets. No definition available.
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other. No definition available.
|
| X | ||||||||||
- Definition Amount of asset recognized for present right to economic benefit. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment within one year or during the operating cycle, if shorter. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment after one year or beyond the operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of liabilities classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer. No definition available.
|
| X | ||||||||||
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|