v3.3.1.900

Net Loss per Share | 12 Months Ended
--- | ---
Dec. 31, 2015
Net Loss per Share |
Net Loss per Share | 14. Net Loss per Share Basic net loss per share attributable to common stockholders is calculated by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding for the period. Prior to the Company’s IPO of its common stock, the Company’s convertible preferred stock was entitled to receive dividends, prior and in preference to any declaration or payment of any dividend on common stock and thereafter participate pro rata on an as converted basis with the common stock holders on any distributions to common stockholders. The convertible preferred shares were therefore considered to be participating securities. As a result, the Company calculated the net loss per share using the two-class method. Accordingly, the net loss attributable to common stockholders is derived from the net loss for the period and, in periods in which the Company has net income attributable to common stockholders, an adjustment is made for the noncumulative dividends and allocations of earnings to participating securities based on their outstanding shareholder rights. Under the two-class method, the net loss attributable to common stockholders is not allocated to the convertible preferred stock as the convertible preferred stock did not have a contractual obligation to share in the Company’s losses. The diluted net income per share attributable to common stockholders is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. In periods when the Company has incurred a net loss, convertible preferred stock, options to purchase common stock, common stock warrants and common stock subject to repurchase are considered common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is antidilutive. The following table provides the basic and diluted net loss per common share computations for the years ended December 31, 2015, 2014 and 2013.
|  | Year ended December 31, |
(in thousands, except per share data) |  | 2015 |  | 2014 |  | 2013 |
Basic and diluted loss per share: |  |  |  |  |  |  |  |  |  |
Net loss |  | $ | (70,275) |  | $ | (5,152) |  | $ | (37,110) |
Net loss attributable to common shares, basic and diluted |  |  | (70,275) |  |  | (5,152) |  |  | (37,110) |
Weighted-average common shares outstanding |  |  | 27,687 |  |  | 6,670 |  |  | 6,093 |
Less: weighted-average unvested common shares subject to repurchase |  |  | (1,483) |  |  | (1,870) |  |  | (2,252) |
Weighted-average number of shares used in computing net loss per share, basic and diluted |  |  | 26,204 |  |  | 4,800 |  |  | 3,841 |
Basic and diluted net loss per share |  | $ | (2.68) |  | $ | (1.07) |  | $ | (9.66) |
Potentially dilutive shares that were not included in the diluted per share calculations because they would be anti‑dilutive as of the years ended December 31, 2015, 2014 and 2013 were as follows:
|  | Year ended December 31, |
|  | 2015 |  | 2014 |  | 2013 |
Options to purchase common stock |  | 9,316 |  | 8,450 |  | 4,406 |
Warrants to purchase common stock |  | 377 |  | 864 |  | 410 |
Common stock subject to repurchase |  | 1,307 |  | 1,690 |  | 2,077 |
Convertible preferred stock |  | — |  | 31,397 |  | 27,048 |
|  | 11,000 |  | 42,401 |  | 33,941 |

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1278-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=32703322&loc=d3e4984-109258 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.21) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration