Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Changes in Accumulated other comprehensive (loss) income (Details)

v3.24.0.1
Summary of Significant Accounting Policies - Changes in Accumulated other comprehensive (loss) income (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Changes in the Accumulated other comprehensive loss (income)      
Balance at the beginning of the period $ 81,878 $ 205,960 $ 341,227
Foreign currency translation adjustments (37,921) 60,421 5,808
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 34,112 (49,581) (6,435)
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 1,134 (573) (461)
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net income, net of tax of $0 (198)   (6)
Balance at the end of the period 39,513 81,878 205,960
Foreign currency gain on intercompany loan of a long-term investment nature, tax 0 0 0
Unrealized holding gains on available-for-sale debt securities, tax 0 0 0
Reclassification adjustment for gains on available-for-sale debt securities included in net loss, tax 0 0 0
Accumulated other comprehensive (loss) income      
Changes in the Accumulated other comprehensive loss (income)      
Balance at the beginning of the period (875) (11,142) (10,048)
Foreign currency translation adjustments (37,921) 60,421 5,808
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 34,112 (49,581) (6,435)
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 1,134 (573) (461)
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net income, net of tax of $0 (198)   (6)
Balance at the end of the period (3,748) (875) (11,142)
Accumulated foreign currency translation adjustments      
Changes in the Accumulated other comprehensive loss (income)      
Balance at the beginning of the period 55 (10,785) (10,158)
Foreign currency translation adjustments (37,921) 60,421 5,808
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 34,112 (49,581) (6,435)
Balance at the end of the period (3,754) 55 (10,785)
Accumulated unrealized (losses) gains on available-for-sale debt securities      
Changes in the Accumulated other comprehensive loss (income)      
Balance at the beginning of the period (930) (357) 110
Unrealized holding gains on available-for-sale debt securities, net of tax of $0 1,134 (573) (461)
Reclassification from accumulated other comprehensive (loss) income of gains on available-for-sale debt securities included in net income, net of tax of $0 (198)   (6)
Balance at the end of the period $ 6 $ (930) $ (357)