Net Loss per Share (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2020 |
Mar. 31, 2019 |
|
| Numerator: | ||
| Net loss | $ (60,106) | $ (21,554) |
| Denominator: | ||
| Weighted-average shares of common stock outstanding, basic and diluted (in shares) | 63,626,333 | 58,138,692 |
| Net loss per share, basic and diluted (in dollars per share) | $ (0.94) | $ (0.37) |
| Stock options | ||
| Potential dilutive securities that would have been anti-dilutive | ||
| Potential dilutive securities that would have been anti-dilutive due to net loss (in shares) | 4,310,566 | 3,847,116 |
| Restricted stock units | ||
| Potential dilutive securities that would have been anti-dilutive | ||
| Potential dilutive securities that would have been anti-dilutive due to net loss (in shares) | 5,707,046 | 1,368,636 |