Stockholders' Equity | Stockholders' Equity Convertible Preferred Stock The par value of convertible preferred stock is $0.001 per share. As of December 31, 2017 and 2016 , the Company had 5,000,000 shares authorized and no preferred stock issued and outstanding. Warrants In 2015, three holders of common stock warrants net exercised warrants to purchase 137,067 shares into 68,993 shares of common stock at exercise prices ranging from $14.40 to $22.43 . There were no warrants exercised in 2016. In 2017, warrants to purchase 27,482 shares were net exercised for 9,878 shares of common stock with exercise price per share ranging from $14.40 to $31.50 in accordance with the terms of the warrant agreement. As of December 31, 2016 , the Company had outstanding warrants to purchase 61,595 shares of common stock at weighted exercise price per share of $16.78 . As of December 31, 2017 , the Company had outstanding warrants to purchase 34,113 shares of common stock at weighted exercise price per share of $14.95 and expire in 2020. Stock Option Plan Equity Incentive Plans On January 23, 2014, the stockholders' approved the adoption of the 2014 Equity Incentive Plan, or 2014 EIP. The number of shares of common stock reserved for issuance under the Company’s 2014 EIP will automatically increase on January 1 of each year, beginning on January 1, 2015, and continuing through and including January 1, 2024, by 4% of the total number of shares of the Company’s capital stock outstanding on December 31 of the preceding calendar year or a lesser number of shares determined by the Company’s Board of Directors. The maximum number of shares that may be issued upon the exercise of ISOs under the Company’s 2014 EIP is 2,000,000 shares. The 2014 EIP provides for the grant of incentive stock options, or ISOs, non-statutory stock options, or NSOs, stock appreciation rights, restricted stock awards, restricted stock unit awards, performance-based stock awards, and other forms of equity compensation, all of which may be granted to employees, including officers, non-employee directors and consultants of the Company and its affiliates. Additionally, the 2014 EIP provides for the grant of performance cash awards. ISOs may be granted only to employees. All other awards may be granted to employees, including officers, and to non-employee directors and consultants. Under the 2014 EIP, options may be granted with different vesting terms from time to time, but not to exceed 10 years from the date of grant. Upon the effectiveness of the 2014 Plan, the Company ceased granting any equity awards under the 2012 Equity Incentive Plan and any cancelled or forfeited shares under the 2012 and 2002 Equity Incentive Plans will be retired. On January 1, 2017 , the number of shares of common stock reserved for issuance under the Company’s 2014 Equity Incentive Plan, or 2014 EIP, automatically increased by 4% of the total number of shares of the Company’s common stock outstanding on December 31, 2016 , or 1,145,958 shares. During the year ended December 31, 2017 , the Company granted stock options for 925,525 shares of common stock and 340,525 restricted stock awards under the 2014 EIP, including a stock option grants for 48,000 shares and restricted stock awards for 24,000 shares to non-employee directors. As of December 31, 2017 , there were 903,049 shares available for issuance under the 2014 EIP. 2014 Inducement Plan On August 26, 2014, the Company’s Board of Directors authorized the adoption of the 2014 Inducement Plan, or 2014 IN, which became effective immediately. Stockholder approval of the 2014 IN was not required pursuant to Rule 5635 (c)(4) of the Nasdaq Listing Rules. The 2014 IN reserves 325,000 shares of common stock and provides for the grant of NSOs that will be used exclusively for grants to individuals that were not previously employees or directors of the Company, as an inducement material to the individual’s entry into employment with the Company. On December 14, 2015, the Company’s Board of Directors authorized an additional 500,000 shares of common stock to be reserved for issuance under the 2014 IN. Under the 2014 IN, options may be granted with different vesting terms from time to time, but not to exceed 10 years from the date of grant. During the year ended December 31, 2017 , the Company granted stock options for 35,000 shares of common stock and 95,000 restricted stock awards under the 2014 IN. As of December 31, 2017 , there were 292,096 shares available for issuance under the 2014 IN. Under the 2014 EIP and the 2014 IN plan, restricted stock awards typically vest annually over 1 , 3 , or 4 years , while options typically vest over four years , either with 25% of the total grant vesting on the first anniversary of the option grant date and 1/36th of the remaining grant vesting each month thereafter or 1/48th vesting monthly. The following summary of stock option and restricted stock award activity, excluding 2014 IN, for the periods presented is as follows: Number of Shares Available for Grant Number of Shares Underlying Outstanding Options Weighted Average Exercise Price Per Share Weighted Average Remaining Contractual Life (in Years) Aggregate Intrinsic Value (In thousands) Balance as of December 31, 2014 91,634 1,886,148 $ 17.90 Additional shares reserved 950,978 — — Options granted (747,338 ) 747,338 18.94 Restricted stock awards granted (169,336 ) 169,336 — Options exercised — (205,735 ) 11.84 Options cancelled/forfeited 116,540 (116,540 ) 21.33 Restricted stock awards forfeited 24,306 (24,306 ) — Restricted stock awards released — (74,755 ) — Shares cancelled/retired under 2002/2012 plans (19,276 ) — — Net settlement of restricted stock awards to settle employee taxes 26,440 — — Balance as of December 31, 2015 273,948 2,381,486 $ 18.36 Additional shares reserved 1,131,538 — — Options granted (839,800 ) 839,800 16.72 Restricted stock awards granted (299,900 ) 299,900 — Options exercised — (131,752 ) 10.67 Options cancelled/forfeited 320,084 (320,084 ) 21.77 Restricted stock awards forfeited 80,333 (80,333 ) — Restricted stock awards released — (124,344 ) — Shares cancelled/retired under 2002/2012 plans — (38,829 ) 8.92 Net settlement of restricted stock awards to settle employee taxes 23,289 — — Balance as of December 31, 2016 689,492 2,825,844 $ 17.92 Additional shares reserved 1,145,958 — — Options granted (925,525 ) 925,525 21.65 Restricted stock awards granted (340,525 ) 340,525 — Options exercised — (309,341 ) 12.88 Options cancelled/forfeited 230,734 (230,734 ) 22.81 Restricted stock awards forfeited 81,905 (81,905 ) — Restricted stock awards released — (117,218 ) — Shares cancelled/retired under 2002/2012 plans — (696 ) 8.94 Net settlement of restricted stock awards to settle employee taxes 21,010 — — Balance as of December 31, 2017 903,049 3,352,000 $ 19.29 7.28 $ 46,703 Exercisable as of December 31, 2017 1,610,252 $ 18.28 6.39 $ 28,127 The intrinsic values of outstanding and exercisable options were determined by multiplying the number of shares by the difference in exercise price of the options and the fair value of the common stock as of December 31, 2017 . The total intrinsic values of options exercised as of December 31, 2017 , 2016 and 2015 of $7.1 million , $1.3 million , and $4.6 million , respectively were determined by multiplying the number of shares by the difference between exercise price of the options and the fair value of the common stock as of December 31, 2017 , 2016 , and 2015 of $35.75 , $20.70 and $34.16 per share, respectively. The following table summarizes the stock option activity for the 2014 IN is as follows: Number of Number of Weighted Weighted Aggregate (In thousands) Balance as of December 31, 2014 141,500 183,500 $ 22.52 Additional shares reserved 500,000 Options granted (206,250 ) 206,250 36.32 Restricted stock awards granted (34,375 ) 34,375 — Option forfeitures 29,531 (29,531 ) 22.97 Restricted stock award forfeitures 9,843 (9,843 ) — Awards released — (30,532 ) — Net settlement of restricted stock awards to settle employee taxes 9,640 — — Balance as of December 31, 2015 449,889 354,219 $ 31.46 Options granted (110,000 ) 110,000 18.37 Restricted stock awards granted (15,000 ) 15,000 — Option forfeitures 88,594 (88,594 ) 22.97 Restricted stock award forfeitures — — — Restricted stock awards released — (9,594 ) — Net settlement of restricted stock awards to settle employee taxes 3,604 — — Balance as of December 31, 2016 417,087 381,031 $ 29.43 Options granted (35,000 ) 35,000 24.40 Restricted stock awards granted (95,000 ) 95,000 — Restricted stock awards released — (13,344 ) — Net settlement of restricted stock awards to settle employee taxes 5,009 — — Balance as of December 31, 2017 292,096 497,687 $ 28.96 8.12 $ 2,653 Exercisable as of December 31, 2017 169,124 $ 29.50 7.89 $ 1,116 The following table summarizes information with respect to stock options outstanding and currently exercisable as of December 31, 2017 : Options Outstanding Options Exercisable Exercise Price Number of Options Weighted- Average Remaining Contractual Life (In Years) $0.45 - 4.20 47,848 2.3 47,848 $8.70 358,382 5.4 358,382 $9.15 - 16.23 586,558 7.2 394,413 $16.30 - 17.12 328,857 7.7 179,805 $17.55 - 19.69 177,325 8.3 67,740 $19.70 436,836 9.1 97,173 $19.90 - 23.30 340,976 8.7 83,525 $23.45 - 31.60 322,357 8.2 109,224 $31.77 8,000 7.5 4,832 $32.22 - 36.32 603,261 6.9 436,434 3,210,400 1,779,376 The following table summarizes information with respect to restricted stock awards outstanding as of December 31, 2017 : Number of Weighted-Average Grant-Date Fair Value Aggregate (In thousands) Outstanding as of December 31, 2014 251,325 $ 29.51 $ — Granted 203,711 21.55 — Vested (105,287 ) 27.79 — Forfeited (34,149 ) 22.77 — Outstanding as of December 31, 2015 315,600 $ 25.67 $ — Granted 314,900 17.16 — Vested (133,938 ) 26.41 — Forfeited (80,333 ) 20.35 — Outstanding as of December 31, 2016 416,229 $ 20.02 $ — Granted 435,525 22.08 — Vested (130,562 ) 23.25 — Forfeited (81,905 ) 19.32 — Outstanding as of December 31, 2017 639,287 $ 20.86 $ 13,332 Stock Options Granted to Employees and Non-employee Directors During the years ended December 31, 2017 , 2016 and 2015 , the Company granted stock options to employees and non-employee directors to purchase shares of common stock with a weighted-average grant date fair value of $13.43 , $16.91 and $22.70 per share, respectively. As of December 31, 2017 , 2016 and 2015 , there was total unrecognized compensation cost for outstanding stock options and restricted stock awards of $26.5 million , $19.6 million and $21.5 million to be recognized over a period of approximately 2.7 years , 2.7 years , and 2.8 years , respectively. The fair value of the employee and non-employee director stock options was estimated using the Black-Scholes option-pricing model with the following weighted-average assumptions: Year Ended December 31, 2017 2016 2015 Expected term (in years) 6.0 6.0 6.0 Expected volatility 67.7 % 61.9 % 62.2 % Risk-free interest rate 2.1 % 1.4 % 1.6 % Expected dividend rate 0.0 % 0.0 % 0.0 % Fair Value of Common Stock . The fair value of the shares of common stock is based on the Company's stock price as quoted by the Nasdaq. Expected Term . The expected term for employees and non-employee directors is based on the simplified method, as the Company’s stock options have the following characteristics: (i) granted at-the-money; (ii) exercisability is conditioned upon service through the vesting date; (iii) termination of service prior to vesting results in forfeiture; (iv) limited exercise period following termination of service; and (v) options are non-transferable and non-hedgeable, or “plain vanilla” options, and the Company has limited history of exercise data. The expected term for non-employees is based on the remaining contractual term. Expected Volatility . As of January 1, 2017, the expected volatility is based on the historical volatility of a group of similar entities combined with the historical volatility of the Company, whereas prior to 2017, the expected volatility was based solely on the historical volatility of a group of similar entities. In evaluating similarity, the Company considered factors such as industry, stage of life cycle, capital structure, and size. Risk-Free Interest Rate . The risk-free interest rate is based on U.S. Treasury constant maturity rates with remaining terms similar to the expected term of the options. Expected Dividend Rate . The Company has never paid any dividends and does not plan to pay dividends in the foreseeable future, and, therefore, used an expected dividend rate of zero in the valuation model. Forfeitures. As of January 1, 2017, the Company adopted the forfeiture rate methodology change in accordance with ASU 2016-09 to account for forfeitures as they occur (Note 2). Prior to the adoption of ASU 2016-09, the Company was required to estimate forfeitures at the time of grant and revised those estimates in subsequent periods if actual forfeitures differed from those estimates. The Company used historical data to estimate pre-vesting option forfeitures and record stock-based compensation expense only for those awards that were expected to vest. To the extent actual forfeitures differed from the estimates, the difference was recorded as a cumulative adjustment in the period that the estimates were revised. Stock Options Granted to Consultants In 2017, 2 employees converted to non-employee consultants and the individuals' options and awards continued to vest in accordance with the 2014 EIP. In addition, during the three months ended December 31, 2017 , the Company granted options to purchase 5,000 shares of common stock with a weighted-average exercise price of $25.45 per share and restricted stock awards of 4,000 shares to a non-employee consultant. The Company did not grant options to purchase shares of common stock to non-employee consultants during the years ended December 31, 2016 and 2015, however, the non-employee consultant options outstanding for the years then ended related to employees who had converted to non-employee consultants. Stock-based compensation expense related to stock options granted to consultants is recognized as the stock options are earned. The Company believes that the fair value of the stock options is more reliably measurable than the fair value of services received. The fair value of the stock options vested is calculated at each reporting date using the Black-Scholes option pricing model with the following weighted-average assumptions: Year Ended December 31, 2017 2016 2015 Expected term (in years) 8.9 7.3 8.2 Expected volatility 67.9 % 68.9 % 73.0 % Risk-free interest rate 2.3 % 1.7 % 2.0 % Expected dividend rate 0.0 % 0.0 % 0.0 % 2014 Employee Stock Purchase Plan On January 22, 2014, the Company’s Board of Directors authorized the adoption of the 2014 Employee Stock Purchase Plan, or 2014 ESPP, which became effective after adoption and approval by the Company’s stockholders on January 23, 2014. The maximum number of shares of common stock that may be issued under the Company’s 2014 ESPP was initially 200,000 shares. The number of shares of common stock reserved for issuance under the Company’s 2014 ESPP will automatically increase on January 1 of each year, beginning on January 1, 2015 and ending on and including January 1, 2024, by the lesser of (i) 1% of the total number of shares of common stock outstanding on December 31 of the preceding calendar year, (ii) 300,000 shares of common stock or (iii) such lesser number of shares of common stock as determined by the Company’s Board of Directors. Shares subject to purchase rights granted under the Company’s 2014 ESPP that terminate without having been exercised in full will return to the 2014 ESPP reserve and will not reduce the number of shares available for issuance under the Company’s 2014 ESPP. The 2014 ESPP is intended to qualify as an “employee stock purchase plan,” or ESPP, under Section 423 of the Internal Revenue Code of 1986 with the purpose of providing employees with an opportunity to purchase the Company’s common stock through accumulated payroll deductions. On January 1, 2017 , the number of shares of common stock reserved for issuance under the Company’s 2014 Employee Stock Purchase Plan, or 2014 ESPP, automatically increased by 1% of the total number of shares of the Company’s capital stock outstanding on December 31, 2016 , or 237,744 shares. As of December 31, 2017 , there were 916,834 shares available for issuance under the 2014 ESPP. For the year ended December 31, 2017 , the Company recorded stock-based compensation expense of $0.2 million and issued 28,135 shares of common stock to employees under the 2014 ESPP. The fair value of the option component of the shares purchased under the 2014 ESPP was estimated using the Black-Scholes option-pricing model with the following weighted-average assumptions: Year Ended December 31, 2017 2016 2015 Expected term (in years) 0.5 0.5 0.5 Expected volatility 59.2 % 72.0 % 63.4 % Risk-free interest rate 0.9 % 0.4 % 0.2 % Expected dividend rate — % — % — % Fair Value of Common Stock . The fair value of the shares of common stock is based on the Company’s stock price. Expected Term . The expected term is based on the term of the purchase period under the 2014 ESPP. Expected Volatility . As of January 1, 2017 the expected volatility is based on the historical volatility of the Company's common stock. Prior to January 1, 2017, the expected volatility was based on volatility of a group of similar entities. In evaluating similarity, the Company considered factors such as industry, stage of life cycle, capital structure, and size. Risk-Free Interest Rate . The risk-free interest rate is based on U.S. Treasury constant maturity rates with remaining terms similar to the expected term. Expected Dividend Rate . The Company has never paid any dividends and does not plan to pay dividends in the foreseeable future, and, therefore, used an expected dividend rate of zero in the valuation model. Total Stock-Based Compensation Total stock-based compensation expense related to options and awards for employees and non-employees and shares purchased under the 2014 ESPP by employees, was allocated as follows (in thousands): Year Ended December 31, 2017 2016 2015 Research and development $ 5,902 $ 5,557 $ 6,511 General and administrative 7,328 6,396 5,877 Total stock-based compensation expense $ 13,230 $ 11,953 $ 12,388 There were no capitalized stock-based compensation costs or recognized stock-based compensation tax benefits during the years ended December 31, 2017 , 2016 , and 2015 . During 2017, 2016 and 2015, the Company modified certain equity awards, resulting in an acceleration of vesting for a portion of such awards as a result of termination of service. The acceleration in vesting of the unvested awards resulted in a Type III modification, which occurs when there is a change from an improbable to probable vesting condition. The Company recognized the incremental fair value, which was equal to the fair value of the awards on the modification date, and recognized the stock-based compensation over the remaining requisite service period. During the years ended December 31, 2017, 2016 and 2015, the Company recorded $0.1 million , $0.2 million and $2.4 million , respectively, of stock-based compensation expense in connection with these modifications. Common Stock As of December 31, 2017 and 2016 , the Company was authorized to issue up to 95,000,000 shares of par value $0.001 per share common stock. As of December 31, 2017 and 2016 , the Company had no shares of common stock subject to repurchase. Common stockholders are entitled to dividends when and if declared by the Board of Directors subject to the prior rights of the preferred stockholders. The holder of each share of common stock is entitled to one vote. The common stockholders voting as a class are entitled to elect one member to the Company’s Board of Directors. As of December 31, 2017 , no dividends have been declared. The Company had reserved shares of common stock, on an as if converted basis, for issuance as follows: December 31, 2017 Issuances under stock incentive plans 903,049 Issuances upon exercise of common stock warrants 34,113 Issuances under employee stock purchase plan 916,834 Issuances under inducement plan 292,096 2,146,092 |