Quarterly report [Sections 13 or 15(d)]

Accumulated other comprehensive (loss)/income (Details)

v3.25.2
Accumulated other comprehensive (loss)/income (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2024
Mar. 31, 2024
Jun. 30, 2025
Jun. 30, 2024
Accumulated other comprehensive (loss)/income            
Balance at the beginning of the period $ (37,429) $ 11,849 $ 24,375 $ 39,513 $ 11,849 $ 39,513
Foreign currency translation adjustments (50,858)   (2,091)   (79,051) 4,724
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 44,655   1,400   70,358 (4,382)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 3   (1)   (17) (6)
Balance at the end of the period (70,958) (37,429) 96,274 24,375 (70,958) 96,274
Accumulated other comprehensive (loss)/income (parenthetical)            
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, tax 0 0 0 0 0 0
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0 0 0 0 0 0
Accumulated foreign currency translation adjustments            
Accumulated other comprehensive (loss)/income            
Balance at the beginning of the period (4,409) (1,919) (2,721) (3,754) (1,919) (3,754)
Foreign currency translation adjustments (50,858) (28,193) (2,091) 6,815    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 44,655 25,703 1,400 (5,782)    
Balance at the end of the period (10,612) (4,409) (3,412) (2,721) (10,612) (3,412)
Accumulated unrealized (losses) gains on available-for-sale debt securities            
Accumulated other comprehensive (loss)/income            
Balance at the beginning of the period (3) 17 1 6 17 6
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 3 (20) (1) (5)    
Balance at the end of the period   (3)   1    
Total accumulated other comprehensive (loss) income            
Accumulated other comprehensive (loss)/income            
Balance at the beginning of the period (4,412) (1,902) (2,720) (3,748) (1,902) (3,748)
Foreign currency translation adjustments (50,858) (28,193) (2,091) 6,815    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 44,655 25,703 1,400 (5,782)    
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 3 (20) (1) (5)    
Balance at the end of the period $ (10,612) $ (4,412) $ (3,412) $ (2,720) $ (10,612) $ (3,412)