v3.19.3.a.u2

Net Loss per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Earnings Per Share [Abstract] |
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss | The following securities have been excluded from the calculation of weighted-average shares of common stock outstanding because the effect is anti-dilutive for the years ended December 31, 2019, 2018 and 2017:
| Year Ended December 31,
| 2019 |  | 2018 |  | 2017
Stock options | 4,373,895 |  |  | 4,057,788 |  |  | 4,559,176 |
Restricted stock units | 3,694,915 |  |  | 1,139,045 |  |  | 1,413,423 |
Schedule of calculation of basic and diluted net loss per share | Basic and diluted net loss per share is calculated as follows:
| Year Ended December 31,
| 2019 |  | 2018 |  | 2017
Numerator (in thousands): |  |  |  |  |  |  |  |
Net loss | $ | (235,222 | ) |  | $ | (38,330 | ) |  | $ | (29,423 | )
Denominator: |  |  |  |  |  |  |  |
Weighted-average shares of common stock outstanding, basic and diluted | 61,393,666 |  |  | 55,833,492 |  |  | 49,062,611 |
Net loss per share, basic and diluted | $ | (3.83 | ) |  | $ | (0.69 | ) |  | $ | (0.60 | )

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration