XML 22 R5.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Comprehensive Loss - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 76,713 $ (75,240) $ (152,600)
Other comprehensive income (loss), net of tax:      
Reclassification of realized gain on available-for-sale securities recognized in interest income (21)
Change in unrealized gain on marketable securities available-for-sale (30) (20) 140
Cumulative foreign currency translation adjustments (2,509) 2,701 (512)
Total other comprehensive income (loss) (2,539) 2,660 (372)
Total comprehensive loss $ 74,174 $ (72,580) $ (152,972)