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 6 Months Ended
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2020
Mar. 31, 2020
Jun. 30, 2021
Jun. 30, 2020
Accumulated other comprehensive loss            
Total accumulated other comprehensive (loss) income   $ (10,048)     $ (10,048)  
Foreign currency translation adjustments $ (4,177)   $ 1,194   (7,178) $ 19,105
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0, $0, $0 and $0 3,911   (1,108)   6,959 (20,759)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 105   699   (118) 113
Total accumulated other comprehensive (loss) income (10,385)       (10,385)  
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
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0 0 0 0 0 0
Accumulated foreign currency translation adjustments            
Accumulated other comprehensive loss            
Total accumulated other comprehensive (loss) income (10,111) (10,158) (9,042) (7,302) (10,158) (7,302)
Foreign currency translation adjustments (4,177) (3,001) 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 3,911 3,048 (1,108) (19,651)    
Total accumulated other comprehensive (loss) income (10,377) (10,111) (8,956) (9,042) (10,377) (8,956)
Accumulated unrealized gains (losses) on available-for-sale debt securities            
Accumulated other comprehensive loss            
Total accumulated other comprehensive (loss) income (113) 110 (548) 38 110 38
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 105 (223) 699 (586)    
Total accumulated other comprehensive (loss) income (8) (113) 151 (548) (8) 151
Accumulated other comprehensive loss            
Accumulated other comprehensive loss            
Total accumulated other comprehensive (loss) income (10,224) (10,048) (9,590) (7,264) (10,048) (7,264)
Foreign currency translation adjustments (4,177) (3,001) 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 3,911 3,048 (1,108) (19,651)    
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0, $0, $0 and $0 105 (223) 699 (586)    
Total accumulated other comprehensive (loss) income $ (10,385) $ (10,224) $ (8,805) $ (9,590) $ (10,385) $ (8,805)