XML 21 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Consolidated Statements of Comprehensive Loss (unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Statement of Comprehensive Income [Abstract]        
Net loss $ (41,789) $ (9,520) $ (113,902) $ (28,782)
Other comprehensive income (loss):        
Unrealized gain (loss) on marketable securities 839 40 898 (83)
Foreign currency translation gain (loss) 278 (3,138) (438) (2,031)
Comprehensive loss $ (40,672) $ (12,618) $ (113,442) $ (30,896)