v3.21.2

ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) |
Schedule of changes in components of accumulated other comprehensive income (loss) | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Net | ​ | Net Unrealized | ​ | Foreign | ​ | Accumulated
​ | ​ | Unrealized | ​ | Gains (Losses) | ​ | Currency | ​ | Other
​ | ​ | Gains (Losses) | ​ | on Cash | ​ | Translation | ​ | Comprehensive
Three Months Ended September 30, 2021 |  | on Securities |  | Flow Hedges |  | Adjustments (1) |  | Loss
​ | ​ | (in thousands)
Balance at June 30, 2021 | ​ | $ | 10,484 | ​ | $ | 72 | ​ | $ | (36,127) | ​ | $ | (25,571)
Changes in other comprehensive income (loss) | ​ |  | (2,769) | ​ |  | 908 | ​ |  | (21,064) | ​ |  | (22,925)
Balance at September 30, 2021 | ​ | $ | 7,715 | ​ | $ | 980 | ​ | $ | (57,191) | ​ | $ | (48,496)
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Net | ​ | Net Unrealized | ​ | Foreign | ​ | Accumulated
​ | ​ | Unrealized | ​ | Gains (Losses) | ​ | Currency | ​ | Other
​ | ​ | Gains (Losses) | ​ | on Cash | ​ | Translation | ​ | Comprehensive
Three Months Ended September 30, 2020 |  | on Securities |  | Flow Hedges |  | Adjustments (1) |  | Loss
​ | ​ | (in thousands)
Balance at June 30, 2020 | ​ | $ | 11,913 | ​ | $ | (653) | ​ | $ | (95,081) | ​ | $ | (83,821)
Changes in other comprehensive income (loss) | ​ |  | 4,386 | ​ |  | 478 | ​ |  | 35,495 | ​ |  | 40,359
Balance at September 30, 2020 | ​ | $ | 16,299 | ​ | $ | (175) | ​ | $ | (59,586) | ​ | $ | (43,462)
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Net | ​ | Net Unrealized | ​ | Foreign | ​ | Accumulated
​ | ​ | Unrealized | ​ | Gains (Losses) | ​ | Currency | ​ | Other
​ | ​ | Gains (Losses) | ​ | on Cash | ​ | Translation | ​ | Comprehensive
Nine Months Ended September 30, 2021 |  | on Securities |  | Flow Hedges |  | Adjustments (1) |  | Loss
​ | ​ | (in thousands)
Balance at December 31, 2020 | ​ | $ | 18,267 | ​ | $ | (700) | ​ | $ | (17,186) | ​ | $ | 381
Changes in other comprehensive income (loss) | ​ |  | (10,552) | ​ |  | 1,680 | ​ |  | (40,005) | ​ |  | (48,877)
Balance at September 30, 2021 | ​ | $ | 7,715 | ​ | $ | 980 | ​ | $ | (57,191) | ​ | $ | (48,496)
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Net | ​ | Net Unrealized | ​ | Foreign | ​ | Accumulated
​ | ​ | Unrealized | ​ | Gains (Losses) | ​ | Currency | ​ | Other
​ | ​ | Gains (Losses) | ​ | on Cash | ​ | Translation | ​ | Comprehensive
Nine Months Ended September 30, 2020 |  | on Securities |  | Flow Hedges |  | Adjustments (1) |  | Loss
​ | ​ | (in thousands)
Balance at December 31, 2019 | ​ | $ | 386 | ​ | $ | (133) | ​ | $ | (92,319) | ​ | $ | (92,066)
Changes in other comprehensive income (loss) | ​ |  | 15,913 | ​ |  | (42) | ​ |  | 28,846 | ​ |  | 44,717
Recognition resulting from the sale of Precima’s foreign subsidiaries | ​ |  | — | ​ |  | — | ​ |  | 3,887 | (2) |  | 3,887
Balance at September 30, 2020 | ​ | $ | 16,299 | ​ | $ | (175) | ​ | $ | (59,586) | ​ | $ | (43,462)
(1) | Primarily related to the impact of changes in the Canadian dollar and Euro foreign currency exchange rates.
(2) | In accordance with ASC 830, upon the sale of Precima on January 10, 2020, $3.9 million of accumulated foreign currency translation adjustments attributable to Precima’s foreign subsidiaries sold were reclassified from accumulated other comprehensive income (loss) and included in the calculation of the gain on sale of Precima.

X
- References No definition available. + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract
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