v3.10.0.1
Consolidated Statements of Comprehensive Loss (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Statement Of Income And Comprehensive Income [Abstract]        
Changes in unrealized gain (loss) on investments, income taxes $ 0 $ 2 $ 0 $ 20