XML 22 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) $ 18,334 $ (40,471) $ (85,964)
Other comprehensive income (loss):      
Foreign currency translation adjustment (366) 24 10,145
Unrealized gain (loss) on marketable securities, net of tax (1,005) (13) 54
Total comprehensive income (loss) $ 16,963 $ (40,460) $ (75,765)