| Net loss per share attributable to common stockholders |
10. Net loss per share attributable to common stockholders
The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders for the years ended December 31, 2015, 2014 and 2013 (in thousands, except share and per share amounts):
|
|
|
Year ended December 31,
|
|
|
|
|
2015
|
|
2014
|
|
2013
|
|
|
Net loss
|
|
$
|
(89,782
|
)
|
$
|
(47,492
|
)
|
$
|
(24,838
|
)
|
|
Less: dividends on convertible preferred stock
|
|
|
—
|
|
|
—
|
|
|
(151
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net loss attributable to common stockholders
|
|
$
|
(89,782
|
)
|
$
|
(47,492
|
)
|
$
|
(24,989
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares used in computing net loss per share attributable to common stockholders, basic and diluted
|
|
|
28,213,324
|
|
|
846,027
|
|
|
691,731
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net loss per share attributable to common stockholders, basic and diluted
|
|
$
|
(3.18
|
)
|
$
|
(56.14
|
)
|
$
|
(36.13
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following outstanding shares of common stock equivalents have been excluded from diluted net loss per share attributable to common stockholders for the years ended December 31, 2015, 2014 and 2013 because their inclusion would be anti-dilutive:
|
|
|
Year ended December 31,
|
|
|
|
|
2015
|
|
2014
|
|
2013
|
|
|
Shares of common stock subject to outstanding options
|
|
|
3,659,713
|
|
|
1,923,332
|
|
|
1,173,019
|
|
|
Shares of common stock subject to outstanding restricted stock unit awards
|
|
|
482,818
|
|
|
—
|
|
|
—
|
|
|
Shares of common stock pursuant to employee stock purchase plan
|
|
|
45,963
|
|
|
—
|
|
|
—
|
|
|
Shares of common stock subject to conversion of preferred stock
|
|
|
—
|
|
|
23,521,889
|
|
|
13,521,900
|
|
|
Shares of common stock subject to unvested early exercise of outstanding options subject to repurchase
|
|
|
4,659
|
|
|
23,903
|
|
|
54,407
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Total shares of common stock equivalents
|
|
|
4,193,153
|
|
|
25,469,124
|
|
|
14,749,326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|