STOCK-BASED COMPENSATION | STOCK-BASED COMPENSATION For the three months ended March 31, 2017 and 2016 , the components of stock-based compensation expense were as follows (in thousands): Three Months Ended March 31, 2017 2016 Stock options $ 917 $ 1,055 Restricted stock awards and units 6,919 5,478 Performance-based restricted stock units 1,628 2,634 Employee stock purchase plan 928 1,083 Total stock-based compensation (1) $ 10,392 $ 10,250 (1) Total stock-based compensation is presented in this table on a gross basis, consistent with the additional paid-in capital impact recorded in stockholders' equity. On the Company's consolidated statements of operations and consolidated statements of cash flows, stock-based compensation is presented net of foreign exchange impact and capitalization of eligible software development-related costs. Stock Options The fair value of each stock option granted during the three months ended March 31, 2017 and 2016 was estimated on the date of grant using a Black-Scholes pricing model with the following weighted-average assumptions: Three Months Ended March 31, 2017 2016 Expected volatility 44 % 43 % Expected life 6 years 6 years Risk-free interest rate 2.09 % 1.50 % Dividend yield — — The following table summarizes the status of the Company's stock options as of March 31, 2017 , and changes during the three months then ended (in thousands, except per share data): Number of Shares Weighted- Average Exercise Price Weighted- Average Remaining Contractual Term (years) Aggregate Intrinsic Value Outstanding at January 1, 2017 1,793 $23.39 Granted 57 56.74 Exercised (117 ) 22.20 Forfeited (26 ) 45.66 Expired (7 ) 58.92 Outstanding at March 31, 2017 1,700 $24.10 5.06 $57,328 Exercisable at March 31, 2017 1,347 $18.08 4.13 $53,538 Vested and expected to vest at March 31, 2017 1,663 $23.60 4.97 $56,900 The weighted-average grant-date fair value of stock options granted during the three months ended March 31, 2017 and 2016 was $25.33 and $16.94 , respectively. The total intrinsic value of stock options exercised during the three months ended March 31, 2017 and 2016 was $4.0 million and $0.7 million , respectively. The total fair value of stock options vested during the three months ended March 31, 2017 and 2016 was $1.1 million and $0.8 million , respectively. As of March 31, 2017 , there was $6.7 million in unrecognized compensation cost related to all non-vested stock options granted. This cost is expected to be recognized over a weighted-average remaining period of 2.60 years . R estricted Stock Awards and Units The following table summarizes the status of the Company’s nonvested time-based RSAs and RSUs as of March 31, 2017 , and changes during the three months then ended (in thousands, except per share data): Number of Shares Weighted- Average Grant-Date Fair Value Nonvested at January 1, 2017 1,850 $40.89 Granted 648 56.10 Vested (468 ) 37.82 Forfeited (89 ) 40.97 Nonvested at March 31, 2017 1,941 $46.70 The total fair value of RSAs and RSUs vested during the three months ended March 31, 2017 and 2016 was $26.3 million and $9.4 million , respectively. As of March 31, 2017 , there was $82.1 million in unrecognized compensation cost related to all nonvested RSAs and RSUs granted. This cost is expected to be recognized over a weighted-average remaining period of 2.94 years . Performance-Based Restricted Stock Units During the three months ended March 31, 2017 , the Company granted: (1) 132 thousand PBRSUs ("2017 TSR PBRSUs") with market conditions based on the Company's total stockholder return ("TSR") relative to that of the Russell 2000 Index over the three-year period ending December 31, 2019, vesting in full in three years with the number of shares ultimately earned ranging from zero to 200% of the target number of shares ; (2) 132 thousand PBRSUs ("2017 Net Income PBRSUs") with performance conditions based on the compound annual growth rate of net income over the three-year period ending December 31, 2019, vesting in full in three years with the number of shares ultimately earned ranging from zero to 200% of the target number of shares. During the three months ended March 31, 2016 , the Company granted 223 thousand PBRSUs ("2016 TSR PBRSUs") with market conditions based on the Company's TSR relative to that of the Russell 2000 Index over the three-year period ending December 31, 2018, vesting in full in three years with the number of shares ultimately earned ranging from zero to 200% of the target number of shares . The Company also granted an insignificant number of other PBRSUs with performance conditions based on achievement of certain individual performance objectives. The fair value of PBRSUs with market conditions granted during the three months ended March 31, 2017 and 2016 was estimated as of the date of grant using a Monte Carlo valuation model with the following weighted average assumptions: 2017 TSR PBRSUs 2016 TSR PBRSUs Expected volatility - Medidata 42 % 48 % Expected volatility - comparison index 43 % 43 % Expected life 2.85 years 2.84 years Risk-free interest rate 1.40 % 0.91 % Dividend yield — — The following table summarizes the status of the Company’s PBRSUs based upon expected performance as of March 31, 2017 , and changes during the three months then ended (in thousands, except per share data): Net Income TSR Other Total Number of Shares Weighted-Average Grant Date Fair Value Nonvested at January 1, 2017 — 390 2 392 $ 57.05 Granted (based on performance at 100% of targeted levels) 132 132 — 264 71.51 Adjustment related to expected performance 66 152 — 218 62.06 Vested — (92 ) — (92 ) 67.30 Forfeited — (26 ) — (26 ) 59.60 Nonvested at March 31, 2017 198 556 2 756 $ 62.21 The total fair value of PBRSUs vested during the three months ended March 31, 2017 and 2016 was $5.1 million and $10.0 million , respectively. As of March 31, 2017 , there was $29.5 million in unrecognized compensation cost related to all nonvested PBRSUs. This cost is expected to be recognized over a weighted-average remaining period of 2.24 years . Employee Stock Purchase Plan The fair value of shares granted under the Company's employee stock purchase plan ("ESPP") was estimated using a Black-Scholes pricing model with the following weighted-average assumptions: Three Months Ended March 31, 2017 2016 Expected volatility 40 % 46 % Expected life 1.51 years 1.68 years Risk-free interest rate 0.63 % 0.58 % Dividend yield — — No shares were purchased under the ESPP during the three months ended March 31, 2017 and 2016 . As of March 31, 2017 , there was $4.4 million in unrecognized compensation cost related to ESPP shares. This cost is expected to be recognized over a weighted-average remaining period of 1.24 years . Modifications Incremental expense associated with modifications to stock options, RSAs and PBRSUs during the three months ended March 31, 2017 and 2016 was $0.1 million and $0.2 million , respectively. |