Short-term and long-term investments (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Investment Holdings [Line Items] | ||
| Debt securities | $ 24,320 | $ 44,158 |
| Equity securities, FV-NI | 40,949 | 40,566 |
| Total | 65,269 | 84,724 |
| Debt securities, short-term investments | 19,903 | 44,158 |
| Total Short-term investments | 24,303 | 51,064 |
| Debt securities, long-term investments | 4,417 | 0 |
| Total Long-term investments | 40,966 | 33,660 |
| Equity Securities, FV-NI | 40,949 | 40,566 |
| Certificates of deposit, bonds and other | ||
| Investment Holdings [Line Items] | ||
| Debt securities | 24,320 | 44,158 |
| Equity securities, FV-NI | 0 | 0 |
| Total | 24,320 | 44,158 |
| Investments in mutual funds and common stock | ||
| Investment Holdings [Line Items] | ||
| Debt securities | 0 | 0 |
| Equity securities, FV-NI | 40,949 | 40,566 |
| Total | 40,949 | 40,566 |
| Short-term Investments | ||
| Investment Holdings [Line Items] | ||
| Equity securities, FV-NI | 4,400 | 6,906 |
| Other long-term Investments | ||
| Investment Holdings [Line Items] | ||
| Equity Securities, FV-NI, Noncurrent | $ 36,549 | $ 33,660 |
| X | ||||||||||
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity), classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity), classified as noncurrent. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of investment in marketable security. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of investment in marketable security, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of investment in marketable security, classified as noncurrent. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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
|
| X | ||||||||||
- Details
|