Net Loss per Share Attributable to Common Stockholders - Computation of Basic and Diluted Net Loss per Share (Details) (USD $) In Thousands, except Share data, unless otherwise specified
|
3 Months Ended |
12 Months Ended |
Dec. 31, 2014
|
Sep. 30, 2014
|
Jun. 30, 2014
|
Mar. 31, 2014
|
Dec. 31, 2013
|
Sep. 30, 2013
|
Jun. 30, 2013
|
Mar. 31, 2013
|
Dec. 31, 2014
|
Dec. 31, 2013
|
Dec. 31, 2012
|
Numerator: |
|
|
|
|
|
|
|
|
|
|
|
Net loss |
$ (16,738)us-gaap_NetIncomeLoss |
$ (15,849)us-gaap_NetIncomeLoss |
$ (13,585)us-gaap_NetIncomeLoss |
$ (13,630)us-gaap_NetIncomeLoss |
$ (11,317)us-gaap_NetIncomeLoss |
$ (8,428)us-gaap_NetIncomeLoss |
$ (8,590)us-gaap_NetIncomeLoss |
$ (6,735)us-gaap_NetIncomeLoss |
$ (59,802)us-gaap_NetIncomeLoss |
$ (35,070)us-gaap_NetIncomeLoss |
$ (16,334)us-gaap_NetIncomeLoss |
Accretion and dividends on convertible preferred stock |
|
|
|
|
|
|
|
|
(4,808)us-gaap_PreferredStockDividendsAndOtherAdjustments |
(15,219)us-gaap_PreferredStockDividendsAndOtherAdjustments |
(3,227)us-gaap_PreferredStockDividendsAndOtherAdjustments |
Net loss attributable to common stockholders |
$ (16,738)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (15,849)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (13,585)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (18,438)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (18,665)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (12,590)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (10,829)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (8,205)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (64,610)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (50,289)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
$ (19,561)us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic |
Denominator: |
|
|
|
|
|
|
|
|
|
|
|
Weighted-average common shares outstanding |
|
|
|
|
|
|
|
|
28,755,758us-gaap_WeightedAverageNumberOfSharesOutstandingBasic |
3,583,522us-gaap_WeightedAverageNumberOfSharesOutstandingBasic |
3,118,798us-gaap_WeightedAverageNumberOfSharesOutstandingBasic |
Less: weighted-average unvested common shares subject to repurchase |
|
|
|
|
|
|
|
|
|
(201,033)us-gaap_WeightedAverageNumberOfSharesCommonStockSubjectToRepurchaseOrCancellation |
(1,741,591)us-gaap_WeightedAverageNumberOfSharesCommonStockSubjectToRepurchaseOrCancellation |
Weighted-average shares used to compute net loss per share attributable to common stockholders, basic and diluted |
|
|
|
|
|
|
|
|
28,755,758us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted |
3,382,489us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted |
1,377,207us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted |
Net loss per share attributable to common stockholders, basic and diluted |
$ (0.52)us-gaap_EarningsPerShareBasicAndDiluted |
$ (0.50)us-gaap_EarningsPerShareBasicAndDiluted |
$ (0.45)us-gaap_EarningsPerShareBasicAndDiluted |
$ (0.85)us-gaap_EarningsPerShareBasicAndDiluted |
$ (4.98)us-gaap_EarningsPerShareBasicAndDiluted |
$ (3.48)us-gaap_EarningsPerShareBasicAndDiluted |
$ (3.32)us-gaap_EarningsPerShareBasicAndDiluted |
$ (2.84)us-gaap_EarningsPerShareBasicAndDiluted |
$ (2.25)us-gaap_EarningsPerShareBasicAndDiluted |
$ (14.87)us-gaap_EarningsPerShareBasicAndDiluted |
$ (14.20)us-gaap_EarningsPerShareBasicAndDiluted |