Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive (loss)/income (Details)

v3.24.3
Accumulated other comprehensive (loss)/income (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2024
Jun. 30, 2024
Mar. 31, 2024
Sep. 30, 2023
Jun. 30, 2023
Mar. 31, 2023
Sep. 30, 2024
Sep. 30, 2023
Accumulated other comprehensive (loss)/income                
Balance beginning of period     $ (3,748)       $ (3,748)  
Foreign currency translation adjustments $ (43,558)     $ 24,359     (38,835) $ (4,830)
Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 41,777     (21,321)     37,396 4,794
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 57     69     51 926
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net loss, net of tax of $0       (87)       (87)
Balance end of period (5,136)           (5,136)  
Accumulated other comprehensive (loss)/income (parenthetical)                
Foreign currency gain on intercompany loan of a long-term investment nature, tax 0   0 0 $ 0 $ 0 0 0
Unrealized holding gains on available-for-sale debt securities, tax 0   0 0 0 0 0 0
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net loss, tax 0     0 0     0
Accumulated foreign currency translation adjustments                
Accumulated other comprehensive (loss)/income                
Balance beginning of period (3,412) $ (2,721) (3,754) (3,018) (1,327) 55 (3,754) 55
Foreign currency translation adjustments (43,558) (2,091) 6,815 24,359 (12,281) (16,908)    
Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 41,777 1,400 (5,782) (21,321) 10,590 15,526    
Balance end of period (5,193) (3,412) (2,721) 19 (3,018) (1,327) (5,193) 19
Accumulated unrealized (losses) gains on available-for-sale debt securities                
Accumulated other comprehensive (loss)/income                
Balance beginning of period   1 6 (73) (458) (930) 6 (930)
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 57 (1) (5) 87 385 472    
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net loss, net of tax of $0       69        
Balance end of period 57   1 83 (73) (458) 57 83
Total accumulated other comprehensive (loss) income                
Accumulated other comprehensive (loss)/income                
Balance beginning of period (3,412) (2,720) (3,748) (3,091) (1,785) (875) (3,748) (875)
Foreign currency translation adjustments (43,558) (2,091) 6,815 24,359 (12,281) (16,908)    
Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 41,777 1,400 (5,782) (21,321) 10,590 15,526    
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 57 (1) (5) 87 385 472    
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net loss, net of tax of $0       69        
Balance end of period $ (5,136) $ (3,412) $ (2,720) $ 102 $ (3,091) $ (1,785) $ (5,136) $ 102