|
Description of Business and Summary of Significant Accounting Policies (Details 4) (USD $) In Thousands, unless otherwise specified
|
3 Months Ended |
9 Months Ended |
|
Sep. 30, 2013
|
Sep. 30, 2012
|
Sep. 30, 2013
|
Sep. 30, 2012
|
| Numerator: |
|
|
|
|
| Net income (loss) |
$ 1,731 |
$ (4,092) |
$ 1,233 |
$ (6,256) |
| Denominator: |
|
|
|
|
| Weighted average common stock outstanding for basic net income (loss) per common share (in shares) |
14,389 |
2,363 |
6,511 |
2,324 |
| Effect of dilutive securities-stock options, convertible preferred stock, and warrants to purchase common stock and preferred stock (in shares) |
9,167 |
|
14,695 |
|
| Weighted average common shares and dilutive securities outstanding |
23,556 |
2,363 |
21,206 |
2,324 |
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income (loss) per share |
|
|
|
|
| Total (in shares) |
253 |
20,395 |
356 |
20,341 |
|
Convertible preferred stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income (loss) per share |
|
|
|
|
| Total (in shares) |
|
15,294 |
|
15,294 |
|
Options to purchase common stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income (loss) per share |
|
|
|
|
| Total (in shares) |
253 |
4,366 |
355 |
4,312 |
|
Warrants to purchase common stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income (loss) per share |
|
|
|
|
| Total (in shares) |
|
541 |
|
541 |
|
Warrants to purchase preferred stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income (loss) per share |
|
|
|
|
| Total (in shares) |
|
194 |
1 |
194 |