v2.4.0.8

Net Loss per Share (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2014
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss |
|  | Three and Six Months Ended June 30, |
|  | 2013 |  | 2014 |
Redeemable convertible preferred stock: |  |  |  |  |
Series A |  | 10,033,976 |  | — |
Series B |  | 5,057,901 |  | — |
Series C |  | 4,429,601 |  | — |
Series D |  | 3,979,730 |  | — |
Warrants to purchase Series D redeemable convertible preferred stock |  | 12,797 |  | — |
Stock options |  | 5,604,989 |  | 6,388,908 |
Restricted stock units |  | — |  | 1,001,390 |
Schedule of calculation of basic and diluted net loss per share attributable to common stockholders |
|  | Three Months Ended June 30, |  | Six Months Ended June 30, |
|  | 2013 |  | 2014 |  | 2013 |  | 2014 |
Numerator (in thousands): |  |  |  |  |  |  |  |  |
Net loss attributable to common stockholders |  | $ | (8,982 | ) | $ | (10,597 | ) | $ | (12,815 | ) | $ | (17,734 | )
Denominator: |  |  |  |  |  |  |  |  |
Weighted-average common shares outstanding, basic and diluted |  | 7,398,059 |  | 39,304,884 |  | 7,392,129 |  | 23,588,330 |
Net loss per share attributable to common stockholders, basic and diluted |  | $ | (1.21 | ) | $ | (0.27 | ) | $ | (1.73 | ) | $ | (0.75 | )

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