XML 41 R19.htm IDEA: XBRL DOCUMENT
v3.22.4

Other comprehensive income (loss) and accumulated other comprehensive items | 12 Months Ended
--- | ---
Dec. 31, 2022
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract] |
Other comprehensive income (loss) and accumulated other comprehensive items | 12. Other comprehensive income (loss) and accumulated other comprehensive items Other comprehensive income (loss) 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 income (loss) and the changes in accumulated other comprehensive items, by component, for the years ended December 31, 2022, 2021, and 2020, respectively. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Unrealized |  | ​ | ​ |  | Total
​ | ​ | Gains (Losses) | ​ | ​ | ​ | ​ | Accumulated
​ | ​ | On | ​ | Foreign | ​ | Other
​ | ​ | Marketable | ​ | Currency | ​ | Comprehensive
​ | ​ | Securities, net of tax | ​ | Translation | ​ | Items
Balance at December 31, 2019 | ​ | $ | 755 | ​ | $ | (11,339) | ​ | $ | (10,584)
Other comprehensive income (loss) before reclassifications | ​ |  | 479 | ​ |  | (51,518) | ​ |  | (51,039)
Amounts reclassified from other comprehensive items | ​ |  | 666 | ​ |  | — | ​ |  | 666
Other comprehensive income (loss) | ​ |  | 1,145 | ​ |  | (51,518) | ​ |  | (50,373)
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
​ 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -URI https://asc.fasb.org/topic&trid=2134417 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_ComprehensiveIncomeNoteTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration