Stock-Based Compensation | 7. Stock-Based Compensation Stock Incentive Plans 2018 Equity Incentive Plan In June 2018, the Company’s board of directors adopted and its stockholders approved the 2018 Equity Incentive Plan (the “2018 Plan”), which became effective as of June 20, 2018, at which point no further grants could be made under the 2015 Equity Incentive Plan (the “2015 Plan”) described below. Under the 2018 Plan, the Company may grant incentive stock options (“ISOs”), nonstatutory stock options (“NSOs”), stock appreciation rights, restricted stock awards, restricted stock units (“RSUs”) and other stock-based awards. As of June 30, 2019, options to purchase 787,601 shares of common stock and 10,189 RSUs have been granted and 2,055,886 shares were available for future issuance under the 2018 Plan. Initially, subject to adjustment as provided in the 2018 Plan, the aggregate number of shares of the Company’s common stock that may be issued pursuant to stock awards under the 2018 Plan was 4,000,000 shares, which is the sum of (i) 1,600,692 shares plus (ii) the number of shares reserved and remaining available for issuance under the 2015 Plan at the time the 2018 Plan became effective and (iii) the number of shares subject to stock options or other stock awards granted under the 2015 Plan that expire, terminate are forfeited or otherwise not issued, or are withheld to satisfy a tax withholding obligation in connection with an award or to satisfy a purchase or exercise price of an award (such as upon the expiration or termination of a stock award prior to vesting). The number of shares of the Company’s common stock reserved for issuance under the 2018 Plan will automatically increase on January 1 of each year, beginning on January 1, 2019 and continuing through and including January 1, 2028, by 5% of the total number of shares of 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 prior to such increase. The maximum number of shares that may be issued upon the exercise of ISOs under the 2018 Plan is 12,500,000 shares. 2015 Equity Incentive Plan The Company’s 2015 Plan provided for the granting of ISOs and NSOs to employees, directors and consultants at the discretion of its board of directors. The 2015 Plan was terminated as to future awards in June 2018, although it continues to govern the terms of options that remain outstanding under the 2015 Plan. No additional stock awards will be granted under the 2015 Plan, and all outstanding stock awards granted under the 2015 Plan that are repurchased, forfeited, expire or are cancelled will become available for grant under the 2018 Plan in accordance with its terms. Options granted under the 2015 Plan expire no later than 10 years from the date of grant. Options granted under the 2015 Plan vest over periods determined by the Company’s board of directors, generally over four years. The 2015 Plan allows for early exercise of certain options prior to vesting. Upon termination of employment, the unvested shares are subject to repurchase at the original exercise price. As of June 30, 2019, options to purchase 2,087,845 shares of common stock were outstanding under the 2015 Plan. 2018 Employee Stock Purchase Plan In June 2018, the Company’s board of directors adopted and its stockholders approved the 2018 Employee Stock Purchase Plan (the “ESPP”), which became effective as of June 20, 2018. The ESPP is intended to qualify as an “employee stock purchase plan” within the meaning of Section 423 of the U.S. Internal Revenue Code of 1986, as amended. The number of shares of common stock initially reserved for issuance under the ESPP was 200,000 shares. The ESPP provides for an annual increase on January 1 of each year, beginning on January 1, 2019 and continuing through and including January 1, 2028, equal to the lesser of (i) 1% of the shares of common stock outstanding on the last day of the prior fiscal year or (ii) 375,000 shares, or a lesser number of shares determined by the Company’s board of directors prior to such increase. As of June 30, 2019, 10,224 shares of common stock had been issued under the ESPP and 380,920 shares remained available for future issuance under the ESPP. The price per share of common stock to be paid by an ESPP participant on the applicable purchase date of an offering period shall be equal to 85% of the lesser of the fair market value of a share of common stock on (i) the applicable offering date or (ii) the applicable purchase date. The Company’s board of directors authorized an initial six-month offering period beginning on November 16, 2018 and ending on May 15, 2019. A new six-month offering period automatically began on the day that immediately followed the conclusion of the initial offering period. Stock Option Activity The following table summarizes activity under the Company’s stock option plans and related information (in thousands, except share and per share amounts): Number of Options Outstanding Weighted Average Exercise Price Weighted Average Remaining Contractual Term (Years) Aggregate Intrinsic Value Outstanding at December 31, 2018 2,181,466 $ 3.80 8.5 $ 43,189 Options granted 701,980 $ 21.07 Options exercised (8,000 ) $ 0.90 $ 134 Options cancelled — $ — Outstanding at June 30, 2019 2,875,446 $ 8.02 8.4 $ 9,234 Vested and exercisable at June 30, 2019 1,323,030 $ 3.74 7.7 $ 6,198 The weighted average grant date fair value of options granted during the six months ended June 30, 2019 was $14.74 per share. The total intrinsic value of exercised stock options during the three and six months ended June 30, 2019 was $56,000 and $134,000, respectively. The aggregate intrinsic value is calculated as the difference between the exercise price and the estimated fair value of the Company’s common stock at the date of exercise. Early Exercise Stock Options The 2015 Plan allowed for early exercisable option grants, which permit the holder to exercise a stock option for the purchase of common stock before the requisite service is provided (i.e., before the award is vested under its original terms); however, such arrangements permit the Company to subsequently repurchase at the exercise price any shares of common stock for which the applicable vesting conditions have not been satisfied. Under the 2015 Plan, the Company only made such early exercisable option grants to non-employee members of our board of directors. As of June 30, 2019 and December 31, 2018, there were 45,287 and 68,349 shares, respectively, of nonvested common stock outstanding that were exercised early and remain subject to repurchase by the Company at the original issuance price upon termination of the stockholder’s services. The right to repurchase these shares generally lapses with respect to 25% of the shares underlying the option one year after the applicable vesting commencement date and 1/48 of the shares underlying the option each month for 36 months thereafter. The shares purchased pursuant to the early exercise of stock options are not deemed, for accounting purposes, to be issued until such shares vest. The cash received in exchange for exercised and nonvested shares related to stock options granted is recorded as a liability for the early exercise of stock options on the balance sheets with the corresponding par value in common stock and an offset in additional paid-in capital. Restricted Stock In addition to the nonvested common stock outstanding described above under the section titled “Early Exercise Stock Options,” the Company issued restricted stock to its founders. The fair value of restricted stock on the issuance date is deemed equal to the cash consideration paid by the founders. Restricted stock vests over a four-year period from the applicable vesting commencement date. The following summarizes the vesting activity of restricted stock: Number of Shares Nonvested—December 31, 2018 20,908 Vested (20,908 ) Nonvested—June 30, 2019 — Stock-Based Compensation Expense Total stock-based compensation recognized by function was as follows (in thousands): Three Months Ended June 30, Six Months Ended June 30, 2019 2018 2019 2018 Research and development $ 470 $ 430 $ 917 $ 489 General and administrative 539 558 993 625 Total stock-based compensation expense $ 1,009 $ 988 $ 1,910 $ 1,114 As of June 30, 2019, the unrecognized stock-based compensation cost was $12.5 million with an estimated weighted average amortization period of 2.7 years. The fair value of the employee stock options granted is calculated using the Black-Scholes option-pricing model with the following weighted-average assumptions: Three Months Ended June 30, Six Months Ended June 30, 2019 2018 2019 2018 Expected term (years) 5.9 5.5 - 6.1 5.9 5.5 - 6.1 Expected volatility 78.7 - 81.3 % 82.8 % 78.7 - 81.9 % 82.0 - 82.8 % Risk-free interest rate 1.9 - 2.4 % 2.8 % 1.9 - 2.6 % 2.6 - 2.8 % Expected dividend yield — — — — |