Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Schedule of Stock-based Compensation Expense Recorded in Operating Expenses (Details)

v3.10.0.1
Stock-Based Compensation - Schedule of Stock-based Compensation Expense Recorded in Operating Expenses (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation in operating expenses $ 1,453 $ 569 $ 6,320 $ 10,840
Selling, General and Administrative [Member]        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation in operating expenses 1,370 492 5,328 7,659
Research and Development [Member]        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation in operating expenses $ 83 $ 77 $ 992 $ 3,181