Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.21.2
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2021
Sep. 30, 2020
Accumulated other comprehensive loss                
Total accumulated other comprehensive (loss) income     $ (10,048)       $ (10,048)  
Foreign currency translation adjustments $ 15,564     $ (15,522)     8,386 $ 3,583
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0, $0, $0 and $0 (15,310)     15,698     (8,351) (5,061)
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net loss, net of tax of $-       76       76
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 33     211     (85) 324
Total accumulated other comprehensive (loss) income (10,098)           (10,098)  
Accumulated other comprehensive loss (paranthetical)                
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, tax 0 $ 0 0 0 $ 0 $ 0 0 0
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0 0 0 0 0 0 0 0
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net loss, net of tax of $0       0       0
Accumulated foreign currency translation adjustments                
Accumulated other comprehensive loss                
Total accumulated other comprehensive (loss) income (10,377) (10,111) (10,158) (8,956) (9,042) (7,302) (10,158) (7,302)
Foreign currency translation adjustments 15,564 (4,177) (3,001) (15,522) 1,194 17,911    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0, $0, $0 and $0 (15,310) 3,911 3,048 15,698 (1,108) (19,651)    
Total accumulated other comprehensive (loss) income (10,123) (10,377) (10,111) (8,780) (8,956) (9,042) (10,123) (8,780)
Accumulated unrealized gains (losses) on available-for-sale debt securities                
Accumulated other comprehensive loss                
Total accumulated other comprehensive (loss) income (8) (113) 110 151 (548) 38 110 38
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net loss, net of tax of $-       211        
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 33 105 (223) (76) 699 (586)    
Total accumulated other comprehensive (loss) income 25 (8) (113) 286 151 (548) 25 286
Accumulated other comprehensive loss                
Accumulated other comprehensive loss                
Total accumulated other comprehensive (loss) income (10,385) (10,224) (10,048) (8,805) (9,590) (7,264) (10,048) (7,264)
Foreign currency translation adjustments 15,564 (4,177) (3,001) (15,522) 1,194 17,911    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0, $0, $0 and $0 (15,310) 3,911 3,048 15,698 (1,108) (19,651)    
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net loss, net of tax of $-       211        
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 33 105 (223) (76) 699 (586)    
Total accumulated other comprehensive (loss) income $ (10,098) $ (10,385) $ (10,224) $ (8,494) $ (8,805) $ (9,590) $ (10,098) $ (8,494)