| Schedule of calculation of basic and diluted net loss per share attributable to common stockholders |
Basic and diluted net loss per share attributable to common stockholders was calculated as follows (in thousands, except share and per share amounts):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Year ended December 31,
|
|
|
|
2018
|
|
2017
|
|
2016
|
|
Numerator:
|
|
|
|
|
|
|
|
|
|
|
Net loss
|
|
$
|
(89,195)
|
|
$
|
(43,847)
|
|
$
|
(11,016)
|
|
Accretion of Series A redeemable convertible preferred stock to redemption value
|
|
|
—
|
|
|
(656)
|
|
|
(748)
|
|
Net loss attributable to common stockholders
|
|
$
|
(89,195)
|
|
$
|
(44,503)
|
|
$
|
(11,764)
|
|
|
|
|
|
|
|
|
|
|
|
|
Denominator:
|
|
|
|
|
|
|
|
|
|
|
Weighted average common shares outstanding, basic and diluted
|
|
|
39,285,468
|
|
|
8,023,785
|
|
|
7,200,581
|
|
Net loss per share attributable to common stockholders, basic and diluted
|
|
$
|
(2.27)
|
|
$
|
(5.55)
|
|
$
|
(1.63)
|
|
| Schedule of dilutive securities excluded from computations of diluted weighted average shares outstanding |
|
|
|
|
|
|
|
|
|
|
|
Year ended December 31,
|
|
|
|
2018
|
|
2017
|
|
2016
|
|
Convertible preferred stock (as converted to common stock)
|
|
—
|
|
43,933,006
|
|
29,570,662
|
|
Warrants to purchase convertible preferred stock (as converted to common stock)
|
|
—
|
|
135,567
|
|
133,333
|
|
Restricted common stock(1)
|
|
2,230,235
|
|
6,277,014
|
|
348,120
|
|
Stock options to purchase common stock
|
|
14,784,770
|
|
4,661,635
|
|
4,159,165
|
|
|
|
17,015,005
|
|
55,007,222
|
|
34,211,280
|
|
(1)
| |
Includes unvested restricted stock and vested restricted stock issued for promissory notes. |
|