XML 22 R6.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 (loss) $ (63,040) $ (61,373) $ (90,433)
Other comprehensive (loss) income, net of tax      
Unrealized gain on available-for-sale securities 640 46 249
Foreign currency translation adjustments (4,680) 10,234 (155)
Total other comprehensive (loss) income, net of tax (4,040) 10,280 94
Comprehensive (loss) $ (67,080) $ (51,093) $ (90,339)