Stock Option and Compensation Plans | Stock Option and Compensation Plans The Company adopted its 2007 Stock Incentive Plan (the "2007 Plan") for employees, non-employee directors and consultants for the purpose of advancing the interests of the Company's stockholders by enhancing its ability to attract, retain and motivate persons who are expected to make important contributions to the Company. The 2007 Plan provided for the granting of stock option awards, RSUs, and other stock-based and cash-based awards. Following the effectiveness of the 2013 Stock Incentive Plan described below in connection with the closing of the Company's initial public offering, the Company is no longer granting additional awards under the 2007 Plan. In August 2013, the Company's board of directors adopted and the Company's stockholders approved the 2013 stock incentive plan (the "2013 Plan"), which became effective immediately prior to the closing of the Company's initial public offering. In June 2015, the Company’s board of directors adopted a first amendment to the 2013 Plan. The 2013 Plan provides for the grant of incentive stock options, nonstatutory stock options, stock appreciation rights, RSUs, restricted stock awards and other stock-based awards. Upon the effectiveness of the 2013 Plan, the number of shares of the Company's common stock that were reserved for issuance under the 2013 Plan was the sum of (1) such number of shares (up to approximately 3,359,641 shares) as is equal to the sum of 739,317 shares (the number of shares of the common stock then available for issuance under the 2007 Plan), and such number of shares of the Company's common stock that are subject to outstanding awards under the 2007 Plan that expire, terminate or are otherwise surrendered, canceled, forfeited or repurchased by the Company at their original issuance price pursuant to a contractual repurchase right plus (2) an annual increase, to be added the first business day of each fiscal year, beginning with the fiscal year ending December 31, 2014 and continuing until, and including, the fiscal year ending December 31, 2023, equal to the lowest of 2,542,372 shares of the Company's common stock, 4% of the number of shares of the Company's common stock outstanding on the first day of the fiscal year and an amount determined by its board of directors. The Company's employees, officers, directors, consultants and advisors are eligible to receive awards under the 2013 Plan. However, incentive stock options may only be granted to employees of the Company. Annual increases under the evergreen provisions of the 2013 Plan have resulted in the addition of an aggregate of approximately 6,898,000 additional shares to the 2013 Plan, including for 2018, an increase of approximately 1,444,000 shares, or 4% of the total number of shares of the Company's common stock outstanding as of January 1, 2018. As of December 31, 2017 , the Company had approximately 492,000 shares available for grant under the 2013 Plan. In April 2016, the board of directors adopted the ESPP pursuant to which the Company may sell up to an aggregate of 1,000,000 shares of common stock. The ESPP was approved by the Company’s stockholders in June 2016. The ESPP allows eligible employees to purchase common stock at a price per share equal to 85% of the lower of the fair market value of the common stock at the beginning or end of each six month offering period during the term of the ESPP. The first offering period began in September 2016. A summary of the stock option activity, weighted average exercise prices, options outstanding and exercisable as of December 31, 2017 , 2016 and 2015 is as follows (in thousands except weighted average exercise price): Years ended December 31, 2017 2016 2015 Common Stock Options Weighted Average Exercise Price Common Stock Options Weighted Average Exercise Price Common Stock Options Weighted Average Exercise Price Outstanding, December 31, 2016 3,359 $ 39.92 3,009 $ 30.43 3,680 $ 21.03 Granted 3,024 $ 3.50 972 $ 60.40 764 $ 47.31 Exercised (20 ) $ 1.64 (428 ) $ 15.73 (1,133 ) $ 10.31 Expired or forfeited (1,079 ) $ 38.17 (194 ) $ 48.63 (302 ) $ 34.09 Outstanding, December 31, 2017 5,284 $ 19.58 3,359 $ 39.92 3,009 $ 30.43 Years ended December 31, 2017 2016 2015 Options exercisable at December 31, 2017 1,954 1,531 955 Weighted average grant date fair value (per share) of options granted during the period $ 2.45 $ 38.18 $ 31.33 As of December 31, 2017 , there were approximately 4,801,000 options outstanding, net of estimated forfeitures, that had vested or are expected to vest. The weighted-average exercise price of these options was $20.47 per option; the weighted-average remaining contractual life of these options was 8.1 years; and the aggregate intrinsic value of these options was approximately $0.4 million . A summary of the stock options outstanding and exercisable as of December 31, 2017 is as follows (in thousands except exercise prices and weighted average exercise price): December 31, 2017 Options Outstanding Options Exercisable Range of Exercise Prices Total Options Outstanding Weighted Average Remaining Life (Years) Weighted Average Exercise Price Number Exercisable Weighted Average Exercise Price $0.12-$10.03 3,054 9.3 $ 3.68 210 $ 6.62 $10.04-$20.00 204 5.5 $ 13.52 147 $ 13.63 $20.01-$30.00 127 5.9 $ 25.13 127 $ 25.13 $30.01-$40.00 831 5.5 $ 32.81 808 $ 32.82 $40.01-$55.00 708 7.5 $ 46.40 467 $ 46.13 $55.01-$73.22 360 8.0 $ 72.63 194 $ 72.13 5,284 8.2 $ 19.58 1,953 $ 35.15 Aggregate Intrinsic Value $ 492 $ 122 Cash proceeds from, and the aggregate intrinsic value of, stock options exercised during the years ended December 31, 2017 , 2016 and 2015 , respectively, were as follows: Years ended December 31, 2017 2016 2015 Cash proceeds from options exercised $ 33 $ 6,934 $ 11,473 Aggregate intrinsic value of options exercised $ 43 $ 14,439 $ 49,255 In connection with stock option awards granted to employees, the Company recognized approximately $13.1 million , $22.8 million and $15.5 million in share-based compensation expense during the years ended December 31, 2017 , 2016 and 2015 , respectively, net of expected forfeitures. As of December 31, 2017 , there were approximately $14.8 million of unrecognized compensation costs, net of estimated forfeitures, related to stock option awards granted to employees, which are expected to be recognized over a remaining weighted average period of 2.5 years. In connection with stock option awards granted to consultants, the Company recognized approximately $0.3 million , $1.7 million and $4.1 million in share-based compensation expense during the years ended December 31, 2017 , 2016 and 2015 , respectively, net of expected forfeitures. As of December 31, 2017 , there were approximately $0.2 million of unrecognized compensation costs, net of estimated forfeitures, related to stock option awards granted to consultants, which are expected to be recognized over a remaining weighted average period of 1.8 years. The following table presents a summary of the Company's outstanding RSU awards granted as of December 31, 2017 (in thousands except weighted average grant-date fair value): Restricted Stock Units Weighted Average Grant-Date Fair Value Outstanding, December 31, 2016 721 $ 55.33 Awarded 249 $ 4.42 Vested (341 ) $ 20.15 Forfeited (302 ) $ 50.30 Outstanding, December 31, 2017 327 $ 51.08 As of December 31, 2017 , there were approximately 187,000 RSUs outstanding, net of estimated forfeitures, that are expected to vest. The weighted-average fair value of these RSUs was $47.25 per share; and the aggregate intrinsic value of these RSUs was approximately $0.6 million . In connection with RSUs granted to employees, the Company recognized approximately $4.4 million , $6.9 million and $5.2 million in share-based compensation expense during the years ended December 31, 2017 , 2016 and 2015 , respectively, net of expected forfeitures. As of December 31, 2017 , there was approximately $5.6 million of unrecognized compensation costs, net of estimated forfeitures, related to RSUs granted to employees, which are expected to be recognized over a remaining weighted average period of 2.0 years. The total fair value of the RSUs that vested during the year ended December 31, 2017 was $7.5 million . In connection with RSUs granted to consultants, the Company recognized approximately $0.3 million in share-based compensation expense during the year ended December 31, 2017 , net of expected forfeitures. There were no RSUs granted to consultants during the year ended December 31, 2016 . As of December 31, 2017 , there were approximately $0.1 million of unrecognized compensation costs, net of estimated forfeitures, related to RSUs granted to consultants, which are expected to be recognized over a remaining weighted average period of 1.7 years. In connection with the ESPP made available to employees, the Company recognized a $0.1 million amount of share-based compensation expense during the years ended December 31, 2017 and December 31, 2016 , respectively, net of expected forfeitures. As of December 31, 2017 , there was a de minimis amount of unrecognized compensation costs, net of estimated forfeitures, related to the ESPP, which are expected to be recognized over 0.3 years. There were 16,358 shares of common stock issued under the ESPP during the year ended December 31, 2017 . Cash proceeds from ESPP purchases were $38 thousand during the year ended December 31, 2017 . There were no shares of common stock issued under the ESPP plan during the year ended December 31, 2016 , as the first offering period under the ESPP commenced in September 2016. As of December 31, 2017 , 983,642 shares were available for future purchases under the ESPP. |