XML 45 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Comprehensive Loss - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Statement Of Income And Comprehensive Income [Abstract]                      
Net loss $ (13,091) $ (12,354) $ (12,491) $ (16,632) $ (9,624) $ (18,965) $ (26,575) $ (16,494) $ (54,568) $ (71,658) $ (40,703)
Change in unrealized gain (loss) on available-for-sale securities, net of tax                 (306) 20 25
Comprehensive loss                 $ (54,874) $ (71,638) $ (40,678)