As of September 30, 2021, our cash and cash equivalents were approximately $262.6 million.
During the first quarter of 2018, following the Japanese MHLW’s approval of elobixibat for the treatment of chronic constipation in January 2018, we received a $44.5 million payment, net of certain transaction expenses, from HCR under our RIAA. Additionally, this approval triggered a milestone payment to us from EA Pharma of $11.2 million. In June 2020, we entered into an amendment to the RIAA with HCR pursuant to which HCR agreed to pay us an additional $14.8 million, net of certain transaction expenses in exchange for the elimination of the (i) $78.8 million cap amount on HCR’s rights to receive royalties on sales in Japan and sales milestones for elobixibat in certain other territories that may become payable by EA Pharma and (ii) $15.0 million payable to us if a specified sales milestone is achieved for elobixibat in Japan. As of September 30, 2021, we have received approximately $59.3 million in upfront and milestone payments from EA Pharma under a license agreement for the development and commercialization of elobixibat in specified countries in Asia. We are eligible to 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 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 September 30, 2021, $40.0 million of securities remain available for issuance under the 2020 Form S-3.
On May 7, 2020, we also entered into a sales agreement, with respect to an at-the-market offering program under which we may 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 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 have 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, and (iii) subject to the Lender’s investment committee’s sole discretion, we have 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. As of September 30, 2021, we borrowed an aggregate principal amount of $10.0 million. An aggregate principal amount of up to $20.0 million remains available for future borrowing upon request and an aggregate principal amount of up to $45.0 million remains available for future borrowing subject to approval from the Lender.