v3.6.0.2

Net Loss per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2016
Net Loss per Share |
Basic and diluted net loss per common share |
|  | Year ended December 31, |
(in thousands, except per share data) |  | 2016 |  | 2015 |  | 2014 |
Basic and diluted loss per share: |  |  |  |  |  |  |  |  |  |
Net loss |  | $ | (95,765) |  | $ | (70,275) |  | $ | (5,152) |
Weighted-average common shares outstanding |  |  | 51,667 |  |  | 27,687 |  |  | 6,670 |
Less: weighted-average unvested common shares subject to repurchase |  |  | (91) |  |  | (1,483) |  |  | (1,870) |
Weighted-average number of shares used in computing net loss per share, basic and diluted |  |  | 51,576 |  |  | 26,204 |  |  | 4,800 |
Basic and diluted net loss per share |  | $ | (1.86) |  | $ | (2.68) |  | $ | (1.07) |
Potentially dilutive shares not included in the calculation of dilutive EPS |
|  | Year ended December 31, |
|  | 2016 |  | 2015 |  | 2014 |
Options to purchase common stock |  | 9,043 |  | 9,316 |  | 8,450 |
Warrants to purchase common stock |  | 377 |  | 377 |  | 864 |
Restricted stock units |  | 159 |  | — |  | — |
Employee stock purchase plan |  | 90 |  | — |  | — |
Common stock subject to repurchase |  | — |  | 1,307 |  | 1,690 |
Convertible preferred stock |  | — |  | — |  | 31,397 |
|  | 9,669 |  | 11,000 |  | 42,401 |

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 Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration