Preferred stock financings
As of September 30, 2019, we had raised $290.5 million in net proceeds from the sale of our equity securities, including the sale of 10,326,454 shares of our Series D redeemable convertible preferred stock from January 2016 through September 2018 at a purchase price of $21.24 per share for gross proceeds of $219.4 million. On March 19, 2018 and May 29, 2018, we issued 2,353,544 and 941,417 shares of Series D redeemable convertible preferred stock for an aggregate purchase price of approximately $50.0 million and $20.0 million, respectively. On July 2, 2018 and July 3, 2018, we issued 517,778 and 47,070 shares of Series D redeemable convertible preferred stock for an aggregate purchase price of $11.0 million and $1.0 million, respectively.
Debt financings
In September 2017, we entered into a Fourth Amended and Restated Loan and Security Agreement, or the Fourth Loan, with SVB, which allowed for borrowings aggregating up to $20.0 million in a series of three advances. The first advance—which was effectuated in September 2017—provided a principal amount of $10.0 million, the second optional advance allowed for a principal amount of $5.0 million and the third optional advance allowed for a principal amount of $5.0 million during their respective drawdown periods; however, the draw periods for the second and third tranches under this agreement have expired as of January 31, 2018 and June 30, 2018, respectively.
In connection with the first advance, we issued warrants to purchase 64,127 shares of common stock at an exercise price of $6.24 per share. The Fourth Loan contains a subjective acceleration clause under which the Fourth Loan could become due and payable to SVB in the event of a material adverse change in our business. The term of the loan was 51 months with an interest rate of prime plus 3.00% and a final payment fee of $0.7 million.
In addition, we obtained a revolving facility from SVB in September 2017 as part of the Fourth Loan and the facility which allows us to borrow up to $10.0 million. The principal amount outstanding under the revolving line accrues interest at a floating per annum rate equal to one percentage point (1.00%) above the prime rate, which interest shall be payable monthly. The amounts available under the revolving line are limited by an advance rate which is a percentage of our account receivables balance. As of September 30, 2019, we have not borrowed against the $10 million revolving facility.
Our credit facilities contain customary representations and warranties and customary affirmative and negative covenants applicable to us and our subsidiaries, including, among other things, restrictions on changes in business, management, ownership or business locations, indebtedness, encumbrances, investments, mergers or acquisitions, dispositions, maintenance of collateral accounts, prepayment of other indebtedness, distributions and transactions with affiliates. The credit facilities contain customary events of default subject in certain cases to grace periods and notice requirements, including (a) failure to pay principal, interest and other obligations when due, (b) material misrepresentations, (c) breach of covenants, conditions or agreements in the credit facilities, (d) default under material indebtedness, (e) certain bankruptcy events, (f) a material adverse change; (g) attachment, levy or restraint on business, (h) default with respect to subordinated debt, (i) cross default under our credit facilities, and (j) government approvals being revoked. As part of the Fourth Loan, all rights, title and interest to our personal property with the exception of our intellectual property, have been pledged as collateral, including cash and cash equivalents, short-term investments, accounts receivable, contractual rights to payment, license agreements, general intangibles, inventory and equipment. We were in compliance with all covenants under the loan and security agreement as of September 30, 2019.
70