XML 33 R6.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 41,980 $ 145,523 $ (11,016)
Other comprehensive income (loss):      
Net unrealized gain (loss) on investments, net of tax (180) (3) 602
Foreign currency translation adjustments 29 (1) 0
Total other comprehensive income (loss) (151) (4) 602
Comprehensive income (loss) $ 41,829 $ 145,519 $ (10,414)