XML 34 R20.htm IDEA: XBRL DOCUMENT
v3.20.4

Other comprehensive income (loss) and accumulated other comprehensive items | 12 Months Ended
--- | ---
Dec. 31, 2020
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, 2020, 2019, and 2018, respectively. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Unrealized |  | ​ | ​ |  | Total
​ | ​ | Gains | ​ | ​ | ​ | ​ | Accumulated
​ | ​ | On | ​ | Foreign | ​ | Other
​ | ​ | Marketable | ​ | Currency | ​ | Comprehensive
​ | ​ | Securities, net of tax | ​ | Translation | ​ | Items
Balance at December 31, 2017 | ​ | $ | 22 | ​ | $ | 3,947 | ​ | $ | 3,969
Other comprehensive income (loss) before reclassifications | ​ |  | 9 | ​ |  | (2,516) | ​ |  | (2,507)
Amounts reclassified from other comprehensive items | ​ |  | — | ​ |  | — | ​ |  | —
Other comprehensive income (loss) | ​ |  | 9 | ​ |  | (2,516) | ​ |  | (2,507)
Balance at December 31, 2018 | ​ | $ | 31 | ​ | $ | 1,431 | ​ | $ | 1,462
Other comprehensive income (loss) before reclassifications | ​ |  | 724 | ​ |  | (12,770) | ​ |  | (12,046)
Amounts reclassified from other comprehensive items | ​ |  | — | ​ |  | — | ​ |  | —
Other comprehensive income (loss) | ​ |  | 724 | ​ |  | (12,770) | ​ |  | (12,046)
Balance at December 31, 2019 | ​ | $ | 755 | ​ | $ | (11,339) | ​ | $ | (10,584)
Other comprehensive income (loss) before reclassifications | ​ |  | 1,145 | ​ |  | (51,518) | ​ |  | (50,373)
Amounts reclassified from other comprehensive items | ​ |  | — | ​ |  | — | ​ |  | —
Other comprehensive income (loss) | ​ |  | 1,145 | ​ |  | (51,518) | ​ |  | (50,373)
Balance at December 31, 2020 | ​ | $ | 1,900 | ​ | $ | (62,857) | ​ | $ | (60,957)
​

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 http://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 http://asc.fasb.org/extlink&oid=120395209&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 http://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 http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_ComprehensiveIncomeNoteTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration