v3.8.0.1
Consolidated Statements of Comprehensive Loss (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Statement Of Income And Comprehensive Income [Abstract]    
Changes in unrealized loss on investments, income taxes $ 0 $ 18