Selected Quarterly Financial Data (Unaudited) - Schedule of Error Corrections and Prior Period Adjustments (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2017 |
Mar. 31, 2017 |
Dec. 31, 2018 |
Dec. 31, 2017 |
Dec. 31, 2016 |
|
Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||||
Revenues | $ 17,071 | $ 6,966 | $ 13,798 | $ 25,374 | $ 33,966 | $ 27,674 | $ 12,087 | $ 17,962 | $ 63,209 | $ 91,689 | $ 79,256 |
Loss from operations | (12,367) | (22,927) | (30,272) | (37,713) | (29,016) | (28,605) | (33,491) | (39,512) | (103,279) | (130,624) | (127,171) |
Net loss | $ (16,781) | $ (27,396) | $ (34,549) | $ (41,822) | $ (26,609) | $ (29,809) | $ (34,657) | $ (31,918) | $ (120,548) | $ (122,993) | $ (131,445) |
Net loss per common share, basic and diluted (usd per share) | $ (0.16) | $ (0.26) | $ (0.33) | $ (0.40) | $ (0.25) | $ (0.28) | $ (0.33) | $ (0.31) | $ (1.14) | $ (1.17) | $ (1.27) |
Shares used in computing net loss per common share, basic and diluted | 105,920 | 105,881 | 105,848 | 105,668 | 105,588 | 105,582 | 105,300 | 104,461 | 105,830 | 105,237 | 103,863 |
Previously reported | |||||||||||
Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||||
Revenues | $ 6,856 | $ 13,753 | $ 25,207 | $ 33,047 | $ 26,942 | $ 12,053 | $ 18,293 | $ 90,335 | $ 83,337 | ||
Loss from operations | (23,043) | (30,429) | (37,966) | (30,785) | (29,518) | (33,893) | (42,485) | (136,681) | (137,155) | ||
Net loss | $ (27,512) | $ (34,706) | $ (42,075) | $ (28,378) | $ (30,722) | $ (35,059) | $ (34,891) | $ (129,050) | $ (141,429) | ||
Net loss per common share, basic and diluted (usd per share) | $ (0.26) | $ (0.33) | $ (0.40) | $ (0.27) | $ (0.29) | $ (0.33) | $ (0.33) | $ (1.23) | $ (1.36) | ||
Shares used in computing net loss per common share, basic and diluted | 105,881 | 105,848 | 105,668 | 105,588 | 105,582 | 105,300 | 104,461 | 105,237 | 103,863 | ||
Adjustments | |||||||||||
Error Corrections and Prior Period Adjustments Restatement [Line Items] | |||||||||||
Revenues | $ 110 | $ 45 | $ 167 | $ 919 | $ 732 | $ 34 | $ (331) | $ 1,354 | $ (4,081) | ||
Loss from operations | 116 | 157 | 253 | 1,769 | 913 | 402 | 2,973 | 6,057 | 9,984 | ||
Net loss | $ 116 | $ 157 | $ 253 | $ 1,769 | $ 913 | $ 402 | $ 2,973 | $ 6,057 | $ 9,984 | ||
Net loss per common share, basic and diluted (usd per share) | $ 0.00 | $ 0.00 | $ 0.00 | $ 0.02 | $ 0.01 | $ 0.00 | $ 0.02 | $ 0.06 | $ 0.09 | ||
Shares used in computing net loss per common share, basic and diluted |