Quarterly report pursuant to Section 13 or 15(d)

Accumulated other comprehensive loss (Details)

v3.22.2
Accumulated other comprehensive loss (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Accumulated other comprehensive loss            
Balance beginning of period   $ (11,142)     $ (11,142)  
Foreign currency translation adjustments $ 47,694   $ (4,177)   64,486 $ (7,178)
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (39,108)   3,911   (52,916) 6,959
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (316)   105   (1,471) (118)
Balance end of period (1,043)       (1,043)  
Accumulated other comprehensive loss (paranthetical)            
Foreign currency gains (losses) on intercompany loan of a long-term investment nature, tax 0   0   0 0
Unrealized holding gains (losses) on available-for-sale debt securities, tax 0   0   0 0
Accumulated foreign currency translation adjustments            
Accumulated other comprehensive loss            
Balance beginning of period (7,801) (10,785) (10,111) $ (10,158) (10,785) (10,158)
Foreign currency translation adjustments 47,694 16,792 (4,177) (3,001)    
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (39,108) (13,808) 3,911 3,048    
Balance end of period 785 (7,801) (10,377) (10,111) 785 (10,377)
Accumulated unrealized gains (losses) on available-for-sale debt securities            
Accumulated other comprehensive loss            
Balance beginning of period (1,512) (357) (113) 110 (357) 110
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (316) (1,155) 105 (223)    
Balance end of period (1,828) (1,512) (8) (113) (1,828) (8)
Accumulated other comprehensive (loss) income            
Accumulated other comprehensive loss            
Balance beginning of period (9,313) (11,142) (10,224) (10,048) (11,142) (10,048)
Foreign currency translation adjustments 47,694 16,792 (4,177) (3,001)    
Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 (39,108) (13,808) 3,911 3,048    
Unrealized holding losses on available-for-sale debt securities, net of tax of $0 (316) (1,155) 105 (223)    
Balance end of period $ (1,043) $ (9,313) $ (10,385) $ (10,224) $ (1,043) $ (10,385)