v3.20.2

Net Loss per Share (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2020
Earnings Per Share [Abstract] |
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss | The following table presents a summary of the securities that have been excluded from the calculation of weighted-average shares of common stock outstanding because the effect is antidilutive for each of the periods indicated.
| Three and Six Months Ended June 30, |  |
| 2020 |  | 2019
Stock options | 4,132,718 |  |  | 4,325,728 |
Restricted stock units | 3,534,193 |  |  | 1,208,112 |
Performance restricted stock units | 1,831,648 |  |  | 199,636 |
Shares related to convertible senior notes | 3,432,837 |  |  | — |
Total antidilutive securities | 12,931,396 |  |  | 5,733,476 |
Schedule of calculation of basic and diluted net loss per share | The following table presents the calculation of the Company’s basic and diluted net loss per share for each of the periods indicated.
| Three Months Ended June 30, |  |  |  | Six Months Ended June 30, |  |
| 2020 |  | 2019 |  | 2020 |  | 2019
Numerator (in thousands): |  |  |  |  |  |  |
Net loss | $ | (66,167) |  |  | $ | (27,972) |  |  | $ | (126,273) |  |  | $ | (49,526) |
Denominator: |  |  |  |  |  |  |
Weighted-average shares of common stock outstanding, basic and diluted | 64,075,405 |  |  | 60,516,662 |  |  | 63,850,869 |  |  | 59,334,246 |
Net loss per share, basic and diluted | $ | (1.03) |  |  | $ | (0.46) |  |  | $ | (1.98) |  |  | $ | (0.83) |

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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -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