Related party transactions - Schedule of Amounts Due from/to Related Parties (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Related party transactions | ||
| Amounts due from | $ 106 | $ 467 |
| Other Receivable, after Allowance for Credit Loss, Current, Related Party, Type [Extensible Enumeration] | Related Party | Related Party |
| Amounts due to related parties | $ 24,472 | $ 1,378 |
| Other Liability, Current, Related Party, Type [Extensible Enumeration] | Related Party | Related Party |
| Dividends payable | $ 0 | |
| Related Party | ||
| Related party transactions | ||
| Dividends payable | $ 22,622 | 0 |
| Related Party | Xiaomi Group | ||
| Related party transactions | ||
| Amounts due to related parties | 1,462 | 1,193 |
| Others | ||
| Related party transactions | ||
| Amounts due to related parties | $ 388 | $ 185 |
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Indicates status and type of related party for liability classified as other and current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Indicates status and type of related party for receivable, after allowance for credit loss, classified as other and current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|