Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.22.1
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Accumulated other comprehensive loss    
Balance beginning of period $ (11,142)  
Foreign currency translation adjustments 16,792 $ (3,001)
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (13,808) 3,048
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (1,155) (223)
Balance end of period (9,313)  
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    
Balance beginning of period (10,785) (10,158)
Foreign currency translation adjustments 16,792 (3,001)
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (13,808) 3,048
Balance end of period (7,801) (10,111)
Accumulated unrealized gains (losses) on available-for-sale debt securities    
Accumulated other comprehensive loss    
Balance beginning of period (357) 110
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (1,155) (223)
Balance end of period (1,512) (113)
Accumulated other comprehensive (loss) income    
Accumulated other comprehensive loss    
Balance beginning of period (11,142) (10,048)
Foreign currency translation adjustments 16,792 (3,001)
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (13,808) 3,048
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (1,155) (223)
Balance end of period $ (9,313) $ (10,224)