XML 33 R18.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Other comprehensive income (loss) and accumulated other comprehensive items | 12 Months Ended
--- | ---
Dec. 31, 2023
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract] |
Other comprehensive income (loss) and accumulated other comprehensive items | 11. Other comprehensive (loss) income and accumulated other comprehensive items Other comprehensive (loss) income includes changes in equity that are excluded from net loss, such as unrealized gains and losses on marketable securities. The following table summarizes other comprehensive (loss) income and the changes in accumulated other comprehensive items, by component, for the years ended December 31, 2023, 2022, and 2021, respectively. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Unrealized |  | ​ | ​ |  | Total
​ | ​ | Gains (Losses) | ​ | ​ | ​ | ​ | Accumulated
​ | ​ | On | ​ | Foreign | ​ | Other
​ | ​ | Marketable | ​ | Currency | ​ | Comprehensive
​ | ​ | Securities, net of tax | ​ | Translation | ​ | Items
Balance at December 31, 2020 | ​ | $ | 1,900 | ​ | $ | (62,857) | ​ | $ | (60,957)
Other comprehensive (loss) income before reclassifications | ​ |  | (3,279) | ​ |  | 39,177 | ​ |  | 35,898
Amounts reclassified from other comprehensive items | ​ |  | 777 | ​ |  | — | ​ |  | 777
Other comprehensive (loss) income | ​ |  | (2,502) | ​ |  | 39,177 | ​ |  | 36,675
Balance at December 31, 2021 | ​ | $ | (602) | ​ | $ | (23,680) | ​ | $ | (24,282)
Other comprehensive income before reclassifications | ​ |  | 4,072 | ​ |  | 28,970 | ​ |  | 33,042
Amounts reclassified from other comprehensive items | ​ |  | (3,964) | ​ |  | — | ​ |  | (3,964)
Other comprehensive income | ​ |  | 108 | ​ |  | 28,970 | ​ |  | 29,078
Balance at December 31, 2022 | ​ | $ | (494) | ​ | $ | 5,290 | ​ | $ | 4,796
Other comprehensive income (loss) before reclassifications | ​ |  | 1,135 | ​ | ​ | (6,901) | ​ | ​ | (5,766)
Amounts reclassified from other comprehensive items | ​ |  | (315) | ​ | ​ | — | ​ | ​ | (315)
Other comprehensive income (loss) | ​ |  | 820 | ​ |  | (6,901) | ​ |  | (6,081)
Balance at December 31, 2023 | ​ | $ | 326 | ​ | $ | (1,611) | ​ | $ | (1,285)
​ Reclassified amounts from other comprehensive items were determined using the actual realized gains and losses from the sales of marketable securities.

X
- References No definition available. + Details
Name: | us-gaap_ComprehensiveIncomeNetOfTaxAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483589/942-220-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//220/tableOfContent + Details
Name: | us-gaap_ComprehensiveIncomeNoteTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration