Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.23.1
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Accumulated other comprehensive loss    
Balance beginning of period $ (875)  
Foreign currency translation adjustments (16,908) $ 16,792
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 15,526 (13,808)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 472 (1,155)
Balance end of period (1,785)  
Accumulated other comprehensive loss (paranthetical)    
Foreign currency gain on intercompany loan of a long-term investment nature, tax 0 0
Unrealized holding gains on available-for-sale debt securities, tax 0 0
Accumulated foreign currency translation adjustments    
Accumulated other comprehensive loss    
Balance beginning of period 55 (10,785)
Foreign currency translation adjustments (16,908) 16,792
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 15,526 (13,808)
Balance end of period (1,327) (7,801)
Accumulated unrealized gains (losses) on available-for-sale debt securities    
Accumulated other comprehensive loss    
Balance beginning of period (930) (357)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 472 (1,155)
Balance end of period (458) (1,512)
Accumulated other comprehensive (loss) income    
Accumulated other comprehensive loss    
Balance beginning of period (875) (11,142)
Foreign currency translation adjustments (16,908) 16,792
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 15,526 (13,808)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 472 (1,155)
Balance end of period $ (1,785) $ (9,313)