Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.22.2.2
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2022
Sep. 30, 2021
Accumulated other comprehensive loss                
Balance beginning of period     $ (11,142)       $ (11,142)  
Foreign currency translation adjustments $ 58,011     $ 15,564     122,496 $ 8,386
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 (50,489)     (15,310)     (103,404) (8,351)
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 204     33     (1,267) (85)
Balance end of period 6,683           6,683  
Accumulated other comprehensive loss (paranthetical)                
Foreign currency gain (losses) on intercompany loan of a long-term investment nature, tax 0 $ 0 0 0 $ 0 $ 0 0 0
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0 0 0 0 0 0 0 0
Accumulated foreign currency translation adjustments                
Accumulated other comprehensive loss                
Balance beginning of period 785 (7,801) (10,785) (10,377) (10,111) (10,158) (10,785) (10,158)
Foreign currency translation adjustments 58,011 47,694 16,792 15,564 (4,177) (3,001)    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 (50,489) (39,108) (13,808) (15,310) 3,911 3,048    
Balance end of period 8,307 785 (7,801) (10,123) (10,377) (10,111) 8,307 (10,123)
Accumulated unrealized gains (losses) on available-for-sale debt securities                
Accumulated other comprehensive loss                
Balance beginning of period (1,828) (1,512) (357) (8) (113) 110 (357) 110
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 204 (316) (1,155) 33 105 (223)    
Balance end of period (1,624) (1,828) (1,512) 25 (8) (113) (1,624) 25
Accumulated other comprehensive (loss) income                
Accumulated other comprehensive loss                
Balance beginning of period (1,043) (9,313) (11,142) (10,385) (10,224) (10,048) (11,142) (10,048)
Foreign currency translation adjustments 58,011 47,694 16,792 15,564 (4,177) (3,001)    
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, net of tax of $0 (50,489) (39,108) (13,808) (15,310) 3,911 3,048    
Unrealized holding gain (losses) on available-for-sale debt securities, net of tax of $0 204 (316) (1,155) 33 105 (223)    
Balance end of period $ 6,683 $ (1,043) $ (9,313) $ (10,098) $ (10,385) $ (10,224) $ 6,683 $ (10,098)