XML 59 R46.htm IDEA: XBRL DOCUMENT v3.8.0.1
Preferred Stock and Stockholders' Equity (Summary of Stock-Based Compensation) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation $ 13,361 $ 7,058 $ 6,013
Research And Development Expense      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation 3,743 1,312 839
Selling, General And Administrative Expense      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation $ 9,618 $ 5,746 $ 5,174