Net Loss per Share - Other (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Numerator (in thousands): | ||||
| Net loss | $ (18,347) | $ (11,754) | $ (33,218) | $ (15,193) |
| Denominator: | ||||
| Weighted-average shares of common stock outstanding, basic and diluted | 54,981,192 | 47,668,397 | 53,840,582 | 47,454,059 |
| Net loss per share, basic and diluted (in dollars per share) | $ (0.33) | $ (0.25) | $ (0.62) | $ (0.32) |