Stock-Based Compensation | Stock-Based Compensation As of December 31, 2021, the Company had an active stock-based incentive compensation plan, an employee stock purchase plan and an equity inducement plan: the 2015 Equity Incentive Award Plan (as amended and restated, the “2015 Plan”), the 2015 Employee Stock Purchase Plan (as amended and restated, the “ESPP”), and the 2018 Equity Inducement Award Program (the “2018 Plan”), respectively. All new equity compensation grants are issued under these three plans; however, outstanding awards previously issued under inactive plans will continue to vest and remain exercisable in accordance with the terms of the respective plans. The 2015 Plan and the 2018 Plan provide for the grant of stock and stock-based awards including stock options, restricted stock units (including deferred stock units) and stock appreciation rights. Additionally, stock units may be issued as performance-based stock units to align stock compensation awards to the attainment of annual or long-term performance goals. As of December 31, 2021, there were 5.8 million shares available for grant under the 2015 Plan and 2018 Plan. Stock-Based Compensation Expense Total stock-based compensation expense recognized in the Company’s consolidated statements of operations and comprehensive loss is classified as follows (in thousands): Year Ended December 31, 2021 2020 2019 Cost of revenue $ 1,018 $ 965 $ 2,645 Research and development 2,538 2,288 3,910 Selling and marketing 1,615 1,091 1,365 General and administrative 18,700 18,461 11,525 Total stock-based compensation expense $ 23,871 $ 22,805 $ 19,445 Our stock-based compensation expense is based on the value of the portion of share-based payment awards that are ultimately expected to vest, assuming estimated forfeitures at the time of grant. Stock-based compensation relating to stock-based awards granted to consultants was insignificant for the years ended December 31, 2021, 2020 and 2019. Restricted Stock Units, Deferred Stock Units and Performance Stock Units: The Company grants restricted stock units, deferred stock units, and performance stock units (collectively "Incentive Stock Units" or "ISUs"). Restricted Stock Units ("RSUs") are granted to the Company's board of directors and employees for their services. Deferred Stock Units ("DSUs") are granted to the Company's board of directors at their election in lieu of retainer and committee service fees. The DSUs granted to board members are either fully vested upon issuance or vest over a period of time from the grant date and will be released and settled upon termination of the board member’s services, the occurrence of a change in control event, or the tenth anniversary of the grant date. The RSUs and DSUs granted to employees and/or board members vest in equal annual or monthly installments over one In March 2021, the Company introduced a performance share plan (the “2021 PSU Plan”) as a component of its equity grants for 2021. The 2021 PSU Plan provides for the award of performance share units (“PSUs”) to employees which vest based on the achievement of performance targets related to the Company’s compound annual revenue growth rate over a three-year period. The grant date fair values of ISUs are based on the closing market price of our common stock on the grant date. Stock-based compensation expense, net of forfeitures, is recognized on a straight-line basis over the requisite service period. For PSUs, compensation expense is updated for the Company’s expected performance level against performance goals at the end of each reporting period, which involves judgment as to achievement of certain performance metrics. The weighted-average grant date fair value of ISUs granted in fiscal year 2021, 2020 and 2019 was $4.87 per share, $2.80 per share and $3.63 per share, respectively. The table below summarizes the Company's activity and related information for its ISUs: RSUs and DSUs PSUs Number of Shares Weighted Average Grant Date Fair Value Number of Shares Weighted Average Grant Date Fair Value Unvested at December 31, 2020 8,046,399 $ 3.41 — $ — Granted 2,704,909 $ 4.92 746,723 $ 4.66 Vested (4,875,305) $ 3.75 — $ — Cancelled or forfeited (339,078) $ 3.41 (39,635) $ 4.66 Unvested at December 31, 2021 5,536,925 $ 4.04 707,088 $ 4.66 Vested and unreleased 194,446 — Outstanding at December 31, 2021 5,731,371 707,088 The total grant date fair value of ISUs awarded was $16.8 million, $17.0 million and $12.2 million for the years ended December 31, 2021, 2020 and 2019, respectively. The total fair value of ISUs vested was $27.5 million, $5.1 million and $6.4 million for the years ended December 31, 2021, 2020 and 2019, respectively. At December 31, 2021, total unrecognized stock-based compensation cost related to ISUs, net of estimated forfeitures, was $14.9 million, which is expected to be recognized over a weighted-average period of 1.7 years. As of December 31, 2021, 6.0 million shares of ISUs are expected to vest. Stock Options: Stock option awards are generally granted with an exercise price equal to the market price of our stock at the date of grant and with a four-years vesting schedule. Stock option awards generally expire 10 years from the date of grant. A summary of the Company’s stock option activity and related information is as follows: Number of Stock Options Outstanding Weighted- Average Exercise Price Weighted- Average Remaining Contractual Life (Years) Aggregate Intrinsic Value (In thousands) Options outstanding at December 31, 2020 8,142,348 $ 7.14 7.3 $ 2,638 Options granted — — Options exercised (156,199) 4.97 Options cancelled or forfeited (790,751) 9.05 Options outstanding at December 31, 2021 7,195,398 $ 6.98 6.1 $ 5,203 Options exercisable at December 31, 2021 5,958,569 $ 7.05 5.9 $ 3,847 Options vested and expected to vest at December 31, 2021 7,117,391 $ 7.00 6.1 $ 5,050 There were no options granted to employees for the year ended December 31, 2021. The weighted-average grant date fair value of options granted to employees was $1.20 and $4.67 per share for the years ended December 31, 2020 and 2019. Aggregate intrinsic value represents the difference between the estimated fair value of the underlying common stock and the exercise price of outstanding, in-the-money options. The aggregate intrinsic value of options exercised was nominal for the years ended December 31, 2021, and 2020, and $7.8 million for the year ended December 31, 2019. At December 31, 2021, total unrecognized stock-based compensation cost related to stock options granted to employees, net of estimated forfeitures, was $4.3 million, which is expected to be recognized over a weighted-average period of 1.2 years. The determination of the fair value of stock options on the date of grant using an option-pricing model is affected by the estimated fair value of the Company’s common stock, as well as assumptions regarding a number of complex and subjective variables. The variables used to calculate the fair value of stock options using the Black-Scholes option-pricing model include actual and projected employee stock option exercise behaviors, expected price volatility of the Company’s common stock, the risk-free interest rate and expected dividends. Each of these inputs is subjective and generally requires significant judgment to determine. The risk-free interest rate is based on the zero-coupon U.S. Treasury notes, with maturities similar to the expected term of the options. The Company has not paid and does not anticipate paying cash dividends on its common stock; therefore, the expected dividend yield is assumed to be zero. During the fourth quarter of 2020, the Company began to determine volatility by solely using the Company’s own historical volatility measurements, since more than four years of historical data became available in the public market. Prior to the fourth quarter of 2020, the Company determined the volatility for stock options granted based on the average historical price volatility for the Company and industry peers over a period equivalent to the expected term of the stock options grants. The forfeiture rate of stock options is estimated at the time of grant and revised, if necessary, in subsequent periods if actual forfeitures differ from those estimates. Forfeitures have been estimated by the Company based upon historical and expected forfeiture experience. The fair value of employee stock options was estimated at the date of grant using a Black-Scholes option-pricing model with the following weighted-average assumptions: Year Ended December 31, 2020 2019 Expected term (in years) 6.0 6.0 Expected volatility (%) 68.8% 60.7% Risk-free interest rate (%) 0.7% 2.4% Expected dividend yield (%) 0% 0% Employee Stock Purchase Plan: In July 2015, the Company adopted the Employee Stock Purchase Plan ("ESPP"). Certain employees, as defined by the ESPP, are eligible to participate in the ESPP if employed by the Company for at least 20 hours per week during at least five months per calendar year. Participating employees may contribute up to the lesser of 15% of their eligible earnings or $30,000 during each offering period, provided that in no event shall a participating employee be permitted to purchase more than 3,000 shares of common stock during each offering period. The purchase price of common stock purchased under the ESPP is currently equal to 85% of the lesser of the fair market value of a share of common stock on: 1) the first trading day of an offering period and 2) the last trading of each offering period. At December 31, 2021, 3.5 million shares were reserved for issuance under the ESPP, respectively. No more than 3.5 million shares of common stock may be issued under the ESPP. As of December 31, 2021, 0.3 million shares have been issued under the ESPP and 3.2 million shares remained available for future issuance under the ESPP. Purchase rights granted under the ESPP are valued using the Black-Scholes pricing model. During 2021 , the grant date for the two offering periods was April 1, 2021 and July 1, 2021. As such, the expected stock price volatility for the Company’s common stock for the ESPP purchase rights was estimated by taking the average historic price volatility of the Company industry peers based on daily price observations over a period equivalent to the expected term of the offering period. The expected term represents the period of time the ESPP purchase rights are expected to be outstanding and approximates the offering period. The latest offering period and related purchase was completed on December 31, 2021. As such, there was no unrecognized compensation cost related to the ESPP as of December 31, 2021. Total compensation expense was $0.3 million and $0.1 million for the years ended December 31, 2021 and 2020 . There was no compensation expense related to the ESPP for the year ended December 31, 2019. The fair value of each purchase right granted under the ESPP was estimated on the date of grant using the Black-Scholes option-pricing model with the following assumptions: Year Ended December 31, 2021 2020 2019 Expected term (in years) 0.50 0.25 - 0.50 N/A Expected volatility (%) 84.2% - 86.0% 83.0% N/A Risk-free interest rate (%) 0.05% - 0.09% 0.09% - 0.17% N/A Expected dividend yield (%) —% —% N/A |