v3.10.0.1
Net Loss Per Share
12 Months Ended
Dec. 31, 2018
Earnings Per Share [Abstract]  
Net Loss Per Share

14. 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, convertible preferred stock and warrants to purchase common stock and convertible preferred 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, 2018, 2017 and 2016, 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,

 

 

 

2018

 

 

2017

 

 

2016

 

Numerator:

 

 

 

 

 

 

 

 

 

 

 

 

Net loss allocable to common stockholders

 

$

(8,857

)

 

$

(63,509

)

 

$

(42,758

)

Denominator:

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares used in computing net loss per share, basic and diluted

 

 

104,618

 

 

 

28,308

 

 

 

4,746

 

Net loss per share, basic and diluted

 

$

(0.08

)

 

$

(2.24

)

 

$

(9.01

)

 

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,

 

 

 

2018

 

 

2017

 

 

2016

 

Equity awards to purchase common stock

 

 

20,057

 

 

 

26,608

 

 

 

22,335

 

Unvested shares of common stock issued upon early exercise of stock options and business acquisition

 

 

70

 

 

 

57

 

 

 

3

 

Warrants to purchase common stock

 

 

 

 

 

184

 

 

 

375

 

Warrants to purchase convertible preferred stock

 

 

 

 

 

 

 

 

1,817

 

Convertible preferred stock

 

 

 

 

 

 

 

 

80,844

 

Total

 

 

20,127

 

 

 

26,849

 

 

 

105,374