Quarterly report [Sections 13 or 15(d)]

Accumulated other comprehensive (loss)/income (Details)

v3.25.1
Accumulated other comprehensive (loss)/income (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Accumulated other comprehensive (loss)/income    
Balance at the beginning of the period $ 11,849 $ 39,513
Foreign currency translation adjustments (28,193) 6,815
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 25,703 (5,782)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 (20) (5)
Balance at the end of the period (37,429) 24,375
Accumulated other comprehensive (loss)/income (parenthetical)    
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)/income    
Balance at the beginning of the period (1,919) (3,754)
Foreign currency translation adjustments (28,193) 6,815
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 25,703 (5,782)
Balance at the end of the period (4,409) (2,721)
Accumulated unrealized (losses) gains on available-for-sale debt securities    
Accumulated other comprehensive (loss)/income    
Balance at the beginning of the period 17 6
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 (20) (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 (1,902) (3,748)
Foreign currency translation adjustments (28,193) 6,815
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 25,703 (5,782)
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 (20) (5)
Balance at the end of the period $ (4,412) $ (2,720)