Accumulated other comprehensive income - Summary of changes in each component of accumulated other comprehensive income (Detail) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | 12 Months Ended | ||||
|---|---|---|---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Comprehensive Income Note [Abstract] | |||||||
| Beginning balance | $ 5,369 | $ 4,885 | $ 3,644 | $ 4,929 | $ 4,929 | $ 3,356 | $ 4,711 |
| Pre-tax change – Foreign currency translation adjustment | 9,984 | (378) | 11,793 | (608) | (1,899) | 1,460 | 625 |
| Pre-tax change – Unrealized (loss) gain on convertible notes – credit risk adjustment | 13 | (273) | (78) | 91 | 1,095 | 1,182 | (3,155) |
| Amount reclassified from accumulated other comprehensive income (loss) related to available-for-sale debt securities | 0 | (55) | 0 | (233) | (226) | (1,069) | 1,175 |
| Pre-tax change – Unrealized gain (loss) on available-for-sale securities | 0 | (55) | 0 | (233) | |||
| Tax effect | 7 | 0 | (255) | 0 | 0 | ||
| Total other comprehensive income (loss), net of tax | $ 15,366 | $ 4,179 | $ 15,366 | $ 4,179 | $ 3,644 | $ 4,929 | $ 3,356 |
| X | ||||||||||
- Definition Comprehensive income note. No definition available.
|
| X | ||||||||||
- Definition Amount, after tax, of accumulated increase (decrease) in equity from transaction and other event and circumstance from nonowner source. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after tax and adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before tax and reclassification adjustment, of unrealized gain (loss) from increase (decrease) in instrument-specific credit risk of financial liability measured under fair value option. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before tax, after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|