XML 19 R5.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) INCOME - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Statement Of Income And Comprehensive Income [Abstract]      
Net (loss) income $ (7,524) $ 34,355 $ 22,501
Other comprehensive income (loss), net of applicable taxes:      
Foreign currency translation adjustment 5,913 (11) (4,128)
Unrealized (loss) gain on short-term investments (147) 577 (430)
Total other comprehensive income (loss) 5,766 566 (4,558)
Comprehensive (loss) income $ (1,758) $ 34,921 $ 17,943