| Net Income (Loss) Per Share (Details 1) In Thousands, unless otherwise specified | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Jun. 30, 2014 | Jun. 30, 2013 | Jun. 30, 2014 | Jun. 30, 2013 | |
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Weighted-average anti-dilutive common shares | 10,595 | 4,636 | 11,044 | 1,198 | 
| Employee Stock Option [Member] | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Weighted-average anti-dilutive common shares | 6,485 | 3,302 | 7,077 | 1,175 | 
| Warrants [Member] | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Weighted-average anti-dilutive common shares | 4,110 | 1,334 | 3,967 | 23 |