XML 19 R6.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 266,638 $ (1,458) $ (6,221)
Other comprehensive (loss) income      
Change in net unrealized (loss) gain on investments, net of tax (1,348) (5,729) 1,037
Change in foreign currency translation adjustments, net of tax (50,806) (1,135) 1,589
Other comprehensive (loss) income (52,154) (6,864) 2,626
Total comprehensive income (loss) $ 214,484 $ (8,322) $ (3,595)