v3.19.3.a.u2

Net Loss per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Earnings Per Share [Abstract] |
Basic and Diluted Net Loss per Share Attributable to Common Stockholders | Basic and diluted net loss per share attributable to common stockholders for the years ended December 31, 2019, 2018 and 2017 are calculated as follows (in thousands, except share and per share data):
| Years Ended December 31,
| 2019 |  | 2018 |  | 2017
Numerator: |  |  |  |  |
Net loss | $ | (514,021 | ) |  | $ | (384,734 | ) |  | $ | (255,916 | )
Premium paid on repurchase of redeemable convertible preferred stock | — |  |  | (4,127 | ) |  | — |
Cumulative dividends on redeemable convertible preferred stock | — |  |  | (12,996 | ) |  | (13,925 | )
Net loss attributable to common stockholders | $ | (514,021 | ) |  | $ | (401,857 | ) |  | $ | (269,841 | )
Denominator: |  |  |  |  |
Weighted average common shares used in net loss per share attributable to common stockholders, basic and diluted | 330,802,136 |  |  | 81,114,183 |  |  | 64,497,544 |
Net loss per share attributable to common stockholders, basic and diluted | $ | (1.55 | ) |  | $ | (4.95 | ) |  | $ | (4.18 | )
Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share | The following common stock equivalents, presented based on amounts outstanding as of December 31, 2019, 2018 and 2017 were excluded from the calculation of diluted net loss per share attributable to common stockholders for the periods indicated because their inclusion would have been anti-dilutive:
| December 31,
| 2019 |  | 2018 |  | 2017
Redeemable convertible preferred stock | — |  |  | — |  |  | 205,151,299 |
Stock options | 45,536,915 |  |  | 50,821,132 |  |  | 33,684,134 |
Restricted common stock | — |  |  | 198,597 |  |  | 1,081,205 |
Restricted common stock units | 1,177,249 |  |  | 458,715 |  |  | 458,715 |
| 46,714,164 |  |  | 51,478,444 |  |  | 240,375,353 |

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