| 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. |
|