Stock-based Compensation - Stock-based Compensation Expense (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2017  | 
Sep. 30, 2016  | 
Sep. 30, 2017  | 
Sep. 30, 2016  | 
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | $ 2,038 | $ 1,729 | $ 4,893 | $ 6,200 | 
| Research and Development [Member] | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | 102 | 802 | 774 | 2,796 | 
| General and Administrative [Member] | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | $ 1,936 | $ 927 | $ 4,119 | $ 3,404 | 
| X | ||||||||||
- Definition Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |