receive additional amounts of up to $5.0 million under the amended agreement, if a specified regulatory event is achieved for elobixibat. To the extent we receive future Japanese royalties, sales milestones or other specified payments from EA Pharma, we are obligated to pay those amounts as royalty interest payments to HCR under the RIAA.
In addition, in February 2020, we completed an underwritten public offering of 2,190,750 shares of our common stock under our universal shelf registration statement for net proceeds of approximately $43.0 million.
On May 7, 2020, we filed a new universal shelf registration statement on Form S-3, or the 2020 Form S-3, with the SEC, which was declared effective on May 18, 2020, pursuant to which we registered for sale up to $200.0 million of any combination of our common stock, preferred stock, debt securities, warrants, rights and/or units from time to time and at prices and on terms that we may determine. On May 7, 2020, we also entered into a sales agreement with Cowen and Company, LLC, or Cowen, with respect to an at-the-market offering program providing for us to offer and sell, from time to time at our sole discretion, shares of our common stock having an aggregate offering price of up to $50.0 million. This agreement terminated on September 9, 2020.
On September 14, 2020, we completed an underwritten public offering of 4,000,000 shares of our common stock under this registration statement. We received net proceeds from this offering of approximately $150.4 million, after deducting underwriting discounts and commissions, but before deducting offering expenses. As of March 31, 2022, $40.0 million of securities remain available for issuance under the 2020 Form S-3.
On June 8, 2020, we entered into a Loan and Security Agreement with several banks and other financial institutions or entities from time to time parties to the Loan and Security Agreement, as lenders, or collectively referred to as the Lender, and Hercules Capital, Inc., in its capacity as administrative agent and collateral agent for itself and Lender (in such capacity, the Agent or Hercules). The Loan and Security Agreement provides for term loans in an aggregate principal amount of up to $80.0 million to be delivered in multiple tranches, (the Term Loans). The tranches consist of (i) a term loan advance to us in an aggregate principal amount of up to $15.0 million, of which (A) we agreed to borrow an aggregate principal amount of $10.0 million on the date on which all conditions to the funding of the Term Loans by the Lender were met (the Closing Date), but we did not request that the Lender make an additional term loan advance to us in an aggregate principal amount of $5.0 million prior to December 15, 2020 as permitted under the agreement, (ii) subject to the achievement of certain initial performance milestones, or Performance Milestone I, we had the right to request that the Lender make additional term loan advances to us in an aggregate principal amount of up to $20.0 million from January 1, 2021 through December 15, 2021 in minimum increments of $10.0 million, which we did not exercise, and (iii) subject to the Lender’s investment committee’s sole discretion, we had the right to request that the Lender make additional term loan advances to us in an aggregate principal amount of up to $45.0 million through March 31, 2022 in minimum increments of $5.0 million, which we did not exercise. As of March 31, 2022, we borrowed an aggregate principal amount of $10.0 million and there were no term loans available to us for advance under the Loan and Security Agreement.
Under the Loan and Security Agreement, we also agreed to issue to Hercules warrants to purchase a number of shares of our common stock equal to 1% of the aggregate amount of the Term Loans that are funded, as such amounts are funded. On the Closing Date, we issued a warrant for 5,311 shares of our common stock. The warrants will be exercisable for a period of seven years from the date of the issuance of each warrant at a per-share exercise price equal to $18.83, subject to certain adjustments as specified in the warrants. The shares of common stock underlying the warrants were subsequently registered on Form S-3 with the SEC, which was declared effective on August 18, 2020.
On February 25, 2021, we filed an automatic shelf registration statement on Form S-3 with the SEC, which became effective upon filing, pursuant to which we registered for sale an unlimited amount of any combination of our common stock, preferred stock, debt securities, warrants, rights and/or units from time to time and at prices and on terms that we may determine, so long as we continued to satisfy the requirements of a “well-known seasoned issuer” under SEC rules, which we refer to as the 2021 Form S-3. Because we are no longer a well-known seasoned