Stockholder's equity (deficit) | 7. Stockholder’s equity (deficit) Common stock As of June 30, 2023 and December 31, 2022, the Company’s certificate of incorporation, as amended and restated, authorized the Company to issue 150,000,000 shares of $ 0.0001 par value common stock. Each share of common stock entitles the holder to one vote on all matters submitted to a vote of the Company’s stockholders. The holders of common stock, voting exclusively and as a separate class, have the exclusive right to vote for the election of directors of the Company. Common stockholders are entitled to receive dividends, as may be declared by the board of directors. Through June 30, 2023, no cash dividends had been declared or paid. On June 24, 2019, the Company completed its IPO at which time the Company issued 6,612,500 shares of common stock, including the exercise in full by the underwriters of their option to purchase up to 862,500 additional shares of common stock, at a public offering price of $ 16.00 per share. The Company received $ 98,394 , net of underwriting discounts and commissions, but before deducting offering costs paid by the Company, which were $ 2,942 . Upon the closing of the IPO, all outstanding shares of convertible preferred stock converted into 21,056,136 shares of common stock. On July 10, 2020, the Company completed a follow-on public offering at which time the Company issued 6,012,390 shares of common stock, including the exercise in full by the underwriters of their option to purchase up to 784,224 additional shares of common stock, at a public offering price of $ 36.00 per share. The Company received $ 203,460 net of underwriting discounts and commissions, but before deducting offering costs paid by the Company. On May 18, 2021, the Company filed a Form S-3 Registration Statement and the accompanying prospectus activating an At-The-Market ("ATM"), facility by entering into a sales agreement with J.P. Morgan Securities LLC, relating to shares of the Company’s common stock offered. Pursuant to the terms of the sales agreement, the Company may offer and sell shares of common stock, having an aggregate price of up to $ 100,000 , from time to time. The Company reserved 5,000,000 shares of common stock related to the ATM offering. In March 2023, the Company terminated the sales agreement with J.P. Morgan Securities LLC and separately entered into a sales agreement with Jefferies LLC (the "Sales Agreement"). Pursuant to the Sales Agreement, the Company filed a prospectus supplement on March 17, 2023, under which the Company may offer and sell shares of common stock, having an aggregate value of up to $ 200,000 . In April and May 2023, the Company sold 3,006,052 shares of common stock under the Sales Agreement, at an average price of $ 42.38 per share. The Company received net proceeds of $ 123,824 , after deducting sales agent commissions and issuance costs incurred by the Company of approximately $ 3,578 . On June 15, 2022, the Company entered into a securities purchase agreement for the sale of 2,525,252 shares of the Company's common stock to Pfizer Inc. at $ 9.90 per share in a registered direct offering conducted without an underwriter or placement agent and pursuant to the Company’s effective shelf registration statement on Form S-3ASR and a related prospectus supplement filed with the SEC. The offering closed on June 17, 2022 for net proceeds of $ 24,647 , after deducting offering costs paid by the Company. On September 19, 2022, the Company completed a follow-on public offering at which time the Company issued 8,846,154 shares of common stock, including the exercise in full by the underwriters of their option to purchase up to 1,153,846 additional shares of common stock, at a public offering price of $ 26.00 per share. The Company received $ 216,200 net of underwriting discounts and commissions of $ 13,800 , but before deducting offering costs incurred by the Company. On May 16, 2023, the Company entered into an underwriting agreement (the "Underwriting Agreement") with Jefferies LLC, ("Jefferies"), as a representative of the several underwriters, pursuant to which the Company agreed to issue and sell 5,238,500 shares of the Company's common stock at $ 42.00 per share in a registered direct offering pursuant to the Company’s effective shelf registration statement on Form S-3ASR and a related prospectus supplement filed with the SEC. The offering closed on May 16, 2023. The Company received net proceeds of $ 210,956 , after deducting underwriters commissions and offering costs incurred by the Company of approximately $ 9,061 . As of June 30, 2023 and December 31, 2022, there were 55,547,959 and 46,865,206 shares of common stock issued and outstanding, respectively. The following shares of common stock were reserved for issuance as follows: June 30, 2023 December 31, 2022 Options outstanding under the 2018 Stock Option and Grant Plan 1,283,548 1,633,173 Options outstanding under the 2019 Stock Option and Incentive Plan 4,495,497 4,146,831 Restricted stock units outstanding under the 2019 Stock Option and Incentive Plan 141,471 129,131 Warrants to purchase common stock associated with Loan Agreement 45,898 36,718 Options available for future grant 3,471,053 2,038,142 Warrants available for future grant 137,700 146,880 Common stock available for ATM program 2,708,234 5,000,000 2019 Employee Stock Purchase Plan 1,590,426 1,187,508 13,873,827 14,318,383 Undesignated preferred stock The Company’s fourth amended and restated certificate of incorporation authorizes the Company to issue up to 10,000,000 shares of undesignated preferred stock, par value $ 0.0001 per share. There were no undesignated preferred shares issued or outstanding as of June 30, 2023. Warrants Associated with Loan Agreement In connection with the entry into the Loan Agreement, the Company issued to Hercules warrants to purchase shares of the Company’s common stock. The amount of shares that may be purchased for the Warrants will not exceed 1.5 % multiplied by the greater of Tranche I and the aggregate original amount of the term loan advances, divided by the exercise price of the Warrants. Upon execution of the Loan Agreement on June 15, 2022, the Company issued 36,718 warrants to purchase shares of the Company’s common stock and recorded the initial warrants at their relative fair value in shareholder's equity. In March 2023, the Company issued an additional 9,180 warrants to purchase shares of the Company’s common stock to Hercules in connection with the borrowing on March 10, 2023. |