XML 20 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ (157,957) $ (22,862) $ 6,820
Other comprehensive income (loss):      
Foreign currency translation adjustment (4,447) 7,798 (13,485)
Unrealized gain (loss) on marketable securities, net of tax (747) 613 (396)
Total comprehensive loss $ (163,151) $ (14,451) $ (7,061)