v3.19.3.a.u2

Net Loss Per Share | 12 Months Ended
--- | ---
Dec. 31, 2019
Earnings Per Share [Abstract] |
Net Loss Per Share | 16. NET LOSS PER SHARE The Company’s basic net loss per share is calculated by dividing the net loss by the weighted-average number of shares of common stock outstanding for the period. For purposes of the calculation of diluted net loss per share options to purchase common stock, restricted stock units, unvested shares of common stock issued upon the early exercise of stock options and business acquisitions and warrants to purchase common stock are considered common stock equivalents but have been excluded from the calculation of diluted net loss per share as their effect is antidilutive. Because the Company has reported a net loss for the years ended December 31, 2019, 2018 and 2017, diluted net loss per common share is the same as the basic net loss per share for those years. The table presents the calculation of basic and diluted net loss per share as follows (in thousands, except per share data):
|  | Years Ended December 31, |
|  | 2019 |  |  | 2018 |  |  | 2017 |
Numerator: |  |  |  |  |  |  |  |  |  |  |  |
Net loss allocable to common stockholders |  | $ | (59,937 | ) |  | $ | (8,857 | ) |  | $ | (63,509 | )
Denominator: |  |  |  |  |  |  |  |  |  |  |  |
Weighted-average shares used in computing net loss per share, basic and diluted |  |  | 115,218 |  |  |  | 104,618 |  |  |  | 28,308 |
Net loss per share, basic and diluted |  | $ | (0.52 | ) |  | $ | (0.08 | ) |  | $ | (2.24 | )
The potential common shares that were excluded from the calculation of diluted net loss per share because their effect would have been antidilutive for the periods presented are as follows (in thousands):
|  | Years Ended December 31, |
|  | 2019 |  |  | 2018 |  |  | 2017 |
Equity awards to purchase common stock |  |  | 15,668 |  |  |  | 20,057 |  |  |  | 26,608 |
Unvested shares of common stock issued upon early exercise of stock options and business acquisition |  |  | 31 |  |  |  | 70 |  |  |  | 57 |
Warrants to purchase common stock |  |  | — |  |  |  | — |  |  |  | 184 |
Total |  |  | 15,699 |  |  |  | 20,127 |  |  |  | 26,849 |

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 The entire disclosure for earnings per share. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration