XML 53 R37.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Other comprehensive income (loss) and accumulated other comprehensive items - (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract] |
Summary of other comprehensive income (loss) and the changes in accumulated other comprehensive items | The following table summarizes other comprehensive income (loss) and the changes in accumulated other comprehensive items, by component, for the years ended December 31, 2021, 2020, and 2019, respectively. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Unrealized |  | ​ | ​ |  | Total
​ | ​ | Gains (Losses) | ​ | ​ | ​ | ​ | Accumulated
​ | ​ | On | ​ | Foreign | ​ | Other
​ | ​ | Marketable | ​ | Currency | ​ | Comprehensive
​ | ​ | Securities, net of tax | ​ | Translation | ​ | Items
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 | ​ |  | 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)

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 Tabular disclosure of the components of accumulated other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 + Details
Name: | us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration