Net Loss Per Share - Summary of Reconciliation of the Denominator Used in the Calculation of Basic and Diluted Loss Per Share (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2016 |
Sep. 30, 2015 |
Sep. 30, 2016 |
Sep. 30, 2015 |
|
| Numerator: | ||||
| Net loss attributable to common stockholders | $ (12,317) | $ (10,212) | $ (40,646) | $ (41,488) |
| Denominator: | ||||
| Weighted-average common shares outstanding—basic | 28,090 | 6,456 | 27,685 | 6,376 |
| Less: Weighted-average common stock subject to repurchase | (6) | (75) | (18) | (97) |
| Total weighted-average common shares outstanding—basic | 28,084 | 6,381 | 27,667 | 6,279 |
| Weighted-average common shares outstanding-diluted | 28,084 | 6,381 | 27,667 | 6,279 |
| Net loss per common share, basic and diluted | $ (0.44) | $ (1.60) | $ (1.47) | $ (6.61) |