Net Income (Loss) per Share Attributable to Common Stockholders |
Net Income (Loss) per Share Attributable to Common Stockholders The following table sets forth the computation of the Company’s basic and diluted net income (loss) per share attributable to common stockholders for the years ended December 31, 2014, 2013, and 2012 (in thousands, except for share and per share amounts): | | | | | | | | | | | | | | Year Ended December 31, | | 2014 | | 2013 | | 2012 | Net loss | $ | (62,917 | ) | | $ | (52,448 | ) | | $ | (58,259 | ) | Capital contribution on the extinguishment of prior convertible preferred stock | — |
| | 74,894 |
| | — |
| Deemed dividend on the issuance of Series E-5 convertible preferred stock | — |
| | (177 | ) | | — |
| Noncumulative dividend on Series E convertible preferred stock | — |
| | (13,878 | ) | | — |
| Undistributed earnings allocated to preferred stockholders | — |
| | (8,133 | ) | | — |
| Net income (loss) attributable to common stockholders, basic | (62,917 | ) | | 258 |
| | (58,259 | ) | Adjustments to net income (loss) for dilutive securities |
|
| | 825 |
| | — |
| Net income (loss) attributable to common stockholders, diluted | $ | (62,917 | ) | | $ | 1,083 |
| | $ | (58,259 | ) | Net income (loss) per share attributable to common stockholders | | | | | | Basic | $ | (3.24 | ) | | $ | 1.17 |
| | $ | (290.48 | ) | Diluted | $ | (3.24 | ) | | $ | 1.05 |
| | $ | (290.48 | ) | Weighted-average shares used in computing net income (loss) per share attributable to common stockholders: | | | | | | Basic | 19,391,523 |
| | 220,220 |
| | 200,560 |
| Stock options | — |
| | 167,655 |
| | — |
| Warrants to purchase common stock | — |
| | 641,275 |
| | — |
| Diluted | 19,391,523 |
| | 1,029,150 |
| | 200,560 |
|
The following common stock equivalents were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have been antidilutive: | | | | | | | | | | | As of December 31, | | 2014 | | 2013 | | 2012 | Stock options | 1,818,323 |
| | — |
| | 306,312 |
| Convertible preferred stock | — |
| | 8,689,999 |
| | 1,741,432 |
| Convertible preferred stock warrants | — |
| | 184,486 |
| | 82,262 |
| Common stock warrants | 198,662 |
| | — |
| | 267,166 |
|
|