|
Description of Business and Summary of Significant Accounting Policies (Details 4) (USD $) In Thousands, unless otherwise specified
|
3 Months Ended |
6 Months Ended |
|
Jun. 30, 2014
|
Jun. 30, 2013
|
Jun. 30, 2014
|
Jun. 30, 2013
|
| Numerator: |
|
|
|
|
| Net income (loss) |
$ 2,011 |
$ 973 |
$ 1,472 |
$ (498) |
| Denominator: |
|
|
|
|
| Weighted average common stock outstanding for basic net income (loss) per common share (in shares) |
23,715 |
2,511 |
23,417 |
2,507 |
| Effect of dilutive securities-stock options, convertible preferred stock, and warrants to purchase common stock and preferred stock (in shares) |
1,956 |
17,847 |
2,292 |
|
| Weighted average common shares and dilutive securities outstanding |
25,671 |
20,358 |
25,709 |
2,507 |
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net loss per share |
|
|
|
|
| Total (in shares) |
1,115 |
111 |
746 |
20,683 |
|
Convertible preferred stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net loss per share |
|
|
|
|
| Total (in shares) |
|
|
|
15,294 |
|
Options to purchase common stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net loss per share |
|
|
|
|
| Total (in shares) |
1,115 |
111 |
746 |
4,654 |
|
Warrants to purchase common stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net loss per share |
|
|
|
|
| Total (in shares) |
|
|
|
541 |
|
Warrants to purchase preferred stock
|
|
|
|
|
| Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net loss per share |
|
|
|
|
| Total (in shares) |
|
|
|
194 |