Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.23.2
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Mar. 31, 2023
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2023
Jun. 30, 2022
Accumulated other comprehensive loss            
Balance beginning of period   $ (875)     $ (875)  
Foreign currency translation adjustments $ (12,281)   $ 47,694   (29,190) $ 64,486
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 10,590   (39,108)   26,116 (52,916)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 385   (316)   857 (1,471)
Balance end of period (3,092)       (3,092)  
Accumulated other comprehensive loss (paranthetical)            
Foreign currency gain on intercompany loan of a long-term investment nature, tax 0   0   0 0
Unrealized holding gains on available-for-sale debt securities, tax 0   0   0 0
Accumulated foreign currency translation adjustments            
Accumulated other comprehensive loss            
Balance beginning of period (1,327) 55 (7,801) $ (10,785) 55 (10,785)
Foreign currency translation adjustments (12,281) (16,908) 47,694 16,792    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 10,590 15,526 (39,108) (13,808)    
Balance end of period (3,019) (1,327) 785 (7,801) (3,019) 785
Accumulated unrealized gains (losses) on available-for-sale debt securities            
Accumulated other comprehensive loss            
Balance beginning of period (458) (930) (1,512) (357) (930) (357)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 385 472 (316) (1,155)    
Balance end of period (73) (458) (1,828) (1,512) (73) (1,828)
Accumulated other comprehensive (loss) income            
Accumulated other comprehensive loss            
Balance beginning of period (1,785) (875) (9,313) (11,142) (875) (11,142)
Foreign currency translation adjustments (12,281) (16,908) 47,694 16,792    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 10,590 15,526 (39,108) (13,808)    
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 385 472 (316) (1,155)    
Balance end of period $ (3,092) $ (1,785) $ (1,043) $ (9,313) $ (3,092) $ (1,043)