Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive income (loss) (Details)

v3.21.1
Accumulated other comprehensive income (loss) (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Accumulated other comprehensive loss    
Total accumulated other comprehensive (loss) income $ (10,048)  
Foreign currency translation adjustments, net of tax of $0, $0 and $0 (3,001) $ 17,911
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 and $0 3,048 (19,651)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 and $0 (223) (586)
Total accumulated other comprehensive (loss) income (10,224)  
Accumulated other comprehensive loss (paranthetical)    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, tax 0 0
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0 0
Accumulated foreign currency translation adjustments    
Accumulated other comprehensive loss    
Total accumulated other comprehensive (loss) income (10,158) (7,302)
Foreign currency translation adjustments, net of tax of $0, $0 and $0 (3,001) 17,911
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 and $0 3,048 (19,651)
Total accumulated other comprehensive (loss) income (10,111) (9,042)
Accumulated unrealized gains (losses) on available-for-sale debt securities    
Accumulated other comprehensive loss    
Total accumulated other comprehensive (loss) income 110 38
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 and $0 (223) (586)
Total accumulated other comprehensive (loss) income (113) (548)
Accumulated other comprehensive loss    
Accumulated other comprehensive loss    
Total accumulated other comprehensive (loss) income (10,048) (7,264)
Foreign currency translation adjustments, net of tax of $0, $0 and $0 (3,001) 17,911
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 and $0 3,048 (19,651)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 and $0 (223) (586)
Total accumulated other comprehensive (loss) income $ (10,224) $ (9,590)