Principal accounting policies - Land use rights, Impairment of long-lived assets, Annual test for impairment of goodwill and Convertible bonds (Details) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
|
Dec. 31, 2025
USD ($)
item
|
Dec. 31, 2024
USD ($)
|
Dec. 31, 2023
USD ($)
|
|
| Principal Accounting Policies [Line Items] | |||
| Aggregate principal amount | $ 10,537 | $ 42,168 | $ 95,169 |
| Impairment of long-lived assets | |||
| Impairment of long-lived assets | $ 8,580 | $ 0 | $ 0 |
| Impairment, Intangible Asset, Finite-Lived, Statement of Income or Comprehensive Income [Extensible Enumeration] | General and Administrative Expense | General and Administrative Expense | General and Administrative Expense |
| Number of reporting units | item | 3 | ||
| Impairment of goodwill | $ 0 | $ 454,935 | $ 0 |
| Land use rights | |||
| Principal Accounting Policies [Line Items] | |||
| Term of amortization | 40 years | ||
| 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. No definition available.
|
| X | ||||||||||
- Definition Term of the amortization on a straight-line basis. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of impairment loss from asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Indicates line item in statement of income or comprehensive income that includes impairment of finite-lived intangible asset. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. No definition available.
|
| X | ||||||||||
- Definition The cash inflow from bank borrowing during the year. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|