XML 24 R6.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 18,180 $ 266,638 $ (1,458)
Other comprehensive income (loss)      
Change in net unrealized gain (loss) on investments, net of tax 5,534 (1,348) (5,729)
Change in foreign currency translation adjustments, net of tax 17,215 (50,806) (1,135)
Other comprehensive income (loss) 22,749 (52,154) (6,864)
Total comprehensive income (loss) $ 40,929 $ 214,484 $ (8,322)