Fair value measurements - Summary of Assets Measured at Fair Value on Recurring Basis (Details) - USD ($) $ in Thousands |
Dec. 31, 2024 |
Dec. 31, 2023 |
---|---|---|
Assets | ||
Short-term investments | $ 288,589 | $ 274,846 |
Recurring | ||
Assets | ||
Short-term investments | 288,589 | 274,846 |
Equity investment with readily determinable fair values | 3,838 | 1,504 |
Available-for-sale debt investment | 40,800 | 63,918 |
Total | 333,227 | 340,268 |
Recurring | Level 1 | ||
Assets | ||
Short-term investments | 0 | |
Equity investment with readily determinable fair values | 3,838 | 1,504 |
Available-for-sale debt investment | 0 | |
Total | 3,838 | 1,504 |
Recurring | Level 2 | ||
Assets | ||
Short-term investments | 288,589 | 274,846 |
Equity investment with readily determinable fair values | 0 | |
Available-for-sale debt investment | 0 | |
Total | 288,589 | 274,846 |
Recurring | Level 3 | ||
Assets | ||
Available-for-sale debt investment | 40,800 | 63,918 |
Total | $ 40,800 | $ 63,918 |
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
X | ||||||||||
- Definition Fair value portion of investments accounted under the equity method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
X | ||||||||||
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
X | ||||||||||
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|