Description of Business and Summary of Significant Accounting Policies (Details 6)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income per share      
Total (in shares) 1,041 357 20,346
Convertible preferred stock      
Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income 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 income per share      
Total (in shares) 1,041 356 4,317
Warrants to purchase common stock      
Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income per share      
Total (in shares)   1 541
Warrants to purchase preferred stock      
Anti-dilutive weighted-average common stock equivalents excluded from the calculation of diluted net income per share      
Total (in shares)     194