Stock-Based Compensation | Stock-Based Compensation 2015 Stock Option and Grant Plan The Company’s 2015 Stock Option and Grant Plan, as amended (the "2015 Plan"), provided for the Company to grant incentive or nonqualified stock options, restricted stock awards, unrestricted stock awards or restricted stock units to employees, directors and consultants of the Company. As of June 26, 2018, the effective date of the 2018 Stock Option and Incentive Plan, and as of June 30, 2019 and December 31, 2018, no shares remained available for future issuance under the 2015 Plan. 2018 Stock Option and Incentive Plan On June 13, 2018, the Company’s stockholders approved the 2018 Stock Option and Incentive Plan (the "2018 Plan"), which became effective on June 26, 2018. The 2018 Plan provides for the grant of incentive stock options, nonqualified stock options, stock appreciation rights, restricted stock units, restricted stock awards, unrestricted stock awards and dividend equivalent rights to the Company’s officers, employees, directors and other key persons (including consultants). The number of shares initially reserved for issuance under the 2018 Plan was 1,215,000 shares, which was cumulatively increased on January 1, 2019 and which will be cumulatively increased each January 1 thereafter by 4% of the number of shares of the Company’s common stock outstanding on the immediately preceding December 31 or such lesser number of shares determined by the Company’s compensation committee. Effective January 1, 2019, 1,132,570 additional shares were automatically added to the shares authorized for issuance under the 2018 Plan and these shares were subsequently registered on a Registration Statement on Form S-8. As of the effective date of the 2018 Plan, the Company will not grant any further awards under the 2015 Plan. However, the shares of common stock underlying any awards that are forfeited, canceled, held back upon exercise or settlement of an award to satisfy the exercise price or tax withholding, reacquired by the Company prior to vesting, satisfied without the issuance of stock, expire or are otherwise terminated (other than by exercise) under the 2018 Plan and the 2015 Plan will be added back to the shares of common stock available for issuance under the 2018 Plan. The terms of stock options and restricted stock awards, including vesting requirements, are determined by the board of directors or its delegates, subject to the provisions of the 2018 Plan. As of June 30, 2019 , there were 241,840 shares available for future issuance under the 2018 Plan. 2018 Employee Stock Purchase Plan On June 13, 2018, the Company’s stockholders approved the 2018 Employee Stock Purchase Plan (the "ESPP"), which became effective on June 26, 2018. A total of 270,000 shares of common stock were reserved for issuance under the ESPP. In addition, the number of shares of common stock that may be issued under the ESPP will automatically increase on January 1, 2019, and each January 1 thereafter through January 1, 2028, by the lesser of (i) 405,000 shares of common stock, (ii) 1% of the number of shares of the Company’s common stock outstanding on the immediately preceding December 31 or (iii) such lesser number of shares determined by the administrator of the Company’s ESPP. Effective January 1, 2019, 283,142 additional shares were automatically added to the shares authorized for issuance under the ESPP and these shares were subsequently registered on a Registration Statement on Form S-8. No offering periods under the 2018 ESPP had been initiated as of June 30, 2019 . Stock Options The following table summarizes changes in stock option activity during the six months ended June 30, 2019: Number of Shares Weighted Average Exercise Price Weighted Average Contractual Term Aggregate Intrinsic Value (in years) (in thousands) Outstanding as of December 31, 2018 2,548,073 $ 7.11 8.68 $ 1,965 Granted 1,231,128 6.01 Exercised (17,070 ) 2.65 Forfeited (75,889 ) 7.29 Outstanding as of June 30, 2019 3,686,242 $ 6.76 8.60 $ 1,689 Options vested or expected to vest as of June 30, 2019 3,686,242 $ 6.76 8.60 $ 1,689 Options exercisable as of June 30, 2019 1,148,127 $ 6.34 7.76 $ 1,025 The weighted average grant-date fair value per share of stock options granted during the three and six months ended June 30, 2019 was $3.73 per share and $4.65 per share, respectively. The weighted average grant-date fair value per share of stock options granted during the three and six months ended June 30, 2018 was $9.71 per share and $8.33 per share, respectively. There were no stock options exercised during the three months ended June 30, 2019 . The aggregate intrinsic value of stock options exercised during the six months ended June 30, 2019 was $0.1 million . The aggregate intrinsic value of stock options exercised during the three and six months ended June 30, 2018 was $0.8 million . Stock Option Valuation The assumptions that the Company used to determine the fair value of the stock options granted to employees and directors were as follows, presented on a weighted average basis: Three Months Ended Six Months Ended 2019 2018 2019 2018 Expected volatility 84.92 % 103.62 % 94.77 % 102.49 % Risk-free interest rate 1.95 % 2.84 % 2.37 % 2.57 % Expected dividend yield — % — % — % — % Expected life (in years) 5.71 6.09 6.01 6.07 There were no stock option awards granted to nonemployees during the three or six months ended June 30, 2019 or 2018 . Restricted Stock Units During the six months ended June 30, 2019 , under the 2018 Plan, the Company granted restricted stock units ("RSUs"), as part of the Company's equity compensation program it provides to its employees. Pursuant to the terms of the applicable award agreements, each RSU represents the right to receive one share of the Company’s common stock and the RSUs generally vest in equal annual installments over three years, provided the employee remains continuously employed with the Company through the vesting period. Upon vesting, shares of the Company's common stock are delivered to the employee, subject to the payment of applicable withholding taxes. The fair value of RSUs is based on the market value of the Company's common stock on the date of grant. Compensation expense is recognized over the applicable service period. The following table summarizes RSU activity for the six months ended June 30, 2019 : Number of Shares Weighted Average Grant- Date Fair Value per Share Unvested as of December 31, 2018 — $ — Granted 484,339 $ 6.25 Vested — $ — Cancelled (13,220 ) $ 6.46 Unvested as of June 30, 2019 471,119 $ 6.24 Restricted Stock Awards Restricted stock awards originally issued under the terms of the 2015 Plan allow the Company, at its discretion, to repurchase unvested shares at the initial purchase price if the employee or nonemployee terminates his or her service relationship with the Company. No restricted stock awards were issued under the 2015 Plan during the three and six months ended June 30, 2019 or June 30, 2018 . The 2018 Plan provides for the grant of restricted stock awards to the Company’s officers, employees, directors and other key persons (including consultants). During the three months ended June 30, 2019 , the Company issued restricted stock awards for 25,000 shares of common stock to certain nonemployee founders and collaborators. The shares were granted under the terms of the 2018 Plan and the respective award agreements governing these awards. These awards vest quarterly over a one -year period. The following table summarizes the Company’s restricted common stock activity since December 31, 2018 : Number of Shares Weighted Average Grant- Date Fair Value per Share Unvested restricted common stock as of December 31, 2018 383,964 $ 1.97 Granted 25,000 $ 4.64 Vested (149,318 ) $ 1.78 Unvested restricted common stock as of June 30, 2019 259,646 $ 2.34 The aggregate fair value of restricted common stock awards that vested during the three and six months ended June 30, 2019 , based upon the fair values of the stock underlying the restricted stock awards on the applicable vesting dates, was $0.4 million and $0.8 million , respectively. The aggregate fair value of restricted common stock awards that vested during the three and six months ended June 30, 2018 , based upon the fair values of the stock underlying the restricted stock awards on the applicable vesting dates, was $0.9 million and $1.7 million , respectively. Restricted Stock Awards Issued Outside of Equity Plans From May 2015 through July 2016, the Company issued 1,510,000 shares of restricted common stock outside of the 2015 Plan to nonemployee founders and collaborators. The shares were issued under the terms of the respective restricted common stock agreements and unvested shares are subject to repurchase by the Company upon the holder’s termination of their relationship with the Company. The unvested shares of restricted common stock are subject to the Company’s right to repurchase at the original purchase price per share. The Company did no t issue any shares of restricted common stock outside of the Company's 2015 Plan and 2018 Plan during the three or six months ended June 30, 2019 and 2018 . Of the total shares of restricted common stock awarded to founders and collaborators, 300,000 shares vested immediately upon grant; 910,000 shares vest quarterly over a four -year period based on each grantee’s continued service relationship with the Company in varying advisory capacities; and 180,000 shares vest upon the achievement of specified performance milestones. Additionally, 120,000 shares were issued as fully vested awards, but are subject to a repurchase option that expires upon the achievement of specified milestones. Through June 30, 2019 , the repurchase option on 80,000 of these shares has expired (see Note 8). Of these awards, the underlying restricted common stock agreement for 180,000 shares of restricted common stock provided for a put option whereby the recipient was able to sell its vested shares back to the Company at a price per share equal to the fair value of the Company’s common stock upon both (i) the termination of the consulting agreement between the recipient and the Company for any reason and (ii) the determination by the recipient’s employer that the ownership of the restricted common stock was in violation of the employer’s conflict of interest policy. Prior to the closing of the Company’s IPO, these awards were classified in the consolidated balance sheet as contingently redeemable common stock and were presented outside of permanent equity. As of December 31, 2017 , $0.4 million was recorded in temporary equity related to these awards. Upon the closing of the Company’s IPO, this put option expired and the amount recorded in temporary equity was recorded to additional paid in capital. A summary of the changes in the Company’s unvested restricted common stock awards granted to founders and collaborators outside of the Company's 2015 Plan or 2018 Plan since December 31, 2018 is as follows: Number of Shares Weighted Average Grant- Date Fair Value per Share Unvested restricted common stock as of December 31, 2018 350,625 $ 1.29 Vested (113,750 ) $ 1.29 Unvested restricted common stock as of June 30, 2019 236,875 $ 1.29 The aggregate fair value of restricted common stock awards issued outside of the Company's 2015 Plan or 2018 Plan that vested during the three and six months ended June 30, 2019 , based upon the fair values of the stock underlying the restricted stock awards on the applicable vesting dates, was $0.3 million and $0.6 million , respectively. The aggregate fair value of restricted common stock awards issued outside of the Company's 2015 Plan or 2018 Plan that vested during the three and six months ended June 30, 2018 , based upon the fair values of the stock underlying the restricted stock awards on the applicable vesting dates, was $0.7 million and $1.3 million , respectively. Stock-Based Compensation Expense The Company recorded stock-based compensation expense related to all stock-based awards in the following expense categories of its condensed consolidated statements of operations and comprehensive loss (in thousands): Three Months Six Months 2019 2018 2019 2018 Research and development expenses $ 1,008 $ 947 $ 1,828 $ 2,175 General and administrative expenses 1,046 476 1,955 897 $ 2,054 $ 1,423 $ 3,783 $ 3,072 During the six months ended June 30, 2018, the Company recognized stock-based compensation expense of $0.4 million for awards with performance-based vesting conditions related to the expiration of an additional repurchase option on a portion of the unvested restricted common shares issued to DFCI (see Note 8). As of June 30, 2019 , the Company had an aggregate of $13.1 million of unrecognized stock-based compensation expense related to unvested stock option awards, excluding awards with performance-based vesting conditions, which is expected to be recognized over a weighted-average period of approximately 2.69 years . As of June 30, 2019 , the Company also had an aggregate of $0.7 million of unrecognized stock-based compensation expense related to unvested restricted common stock awards, excluding awards with performance-based vesting conditions, which is expected to be recognized over a weighted-average period of approximately 0.81 years . Additionally as of June 30, 2019 , the Company had an aggregate of $2.6 million of unrecognized stock-based compensation expense related to unvested RSUs, which is expected to be recognized over a weighted-average period of approximately 2.70 years . |