Investing Activities
During the nine months ended September 30, 2022, cash used in investing activities was $0.8 million consisting of purchases of property and equipment.
During the nine months ended September 30, 2021, cash used in investing activities was $0.3 million, consisting of purchases of property and equipment.
Financing Activities
During the nine months ended September 30, 2022, cash provided by financing activities was $41.1 million, consisting primarily of $34.7 million in proceeds from an underwritten public offering, $40.0 million in proceeds received from the issuance of long-term debt offset by $30.0 million in repayments of long-term debt and $3.5 million in payments of issuance costs.
During the nine months ended September 30, 2021, cash provided by financing activities was $0.4 million, consisting of proceeds received from the exercise of stock options.
Indebtedness
On May 26, 2022, we entered into the MidCap Credit Agreement with MidCap Financial Trust, as agent and certain lender parties thereto. The MidCap Credit Agreement provides for up to $50.0 million in MidCap Term Loans, consisting of a $40.0 million Tranche 1 and a $10.0 million Tranche 2. Upon closing, we borrowed $40.0 million of Tranche 1 and used a portion of the proceeds to repay borrowings under the OrbiMed Credit Facility and intend to use the remaining proceeds to fund operations and other general corporate purposes. We will be eligible to borrow Tranche 2 at our option upon meeting certain conditions, including, but not limited to, reaching $65.0 million of net product revenue over the preceding four quarters by fiscal year end 2023.
Pursuant to the MidCap Credit Agreement, we provided a first priority security interest in all existing and future acquired assets, including intellectual property, owned by us. The MidCap Credit Agreement contains certain covenants that limit our ability to engage in certain transactions that may be in our long-term best interests, including the incurrence of additional indebtedness, effecting certain corporate changes, making certain investments, acquisitions or dispositions and paying dividends.
The MidCap Credit Agreement also contains customary indemnification obligations and customary events of default, including, among other things, (i) non-payment, (ii) breach of warranty, (iii) non-performance of covenants and obligations, (iv) default on other indebtedness, (v) judgments, (vi) change of control, (vii) bankruptcy and insolvency, (viii) impairment of security, (ix) key permit events, (x) termination of a pension plan, (xi) regulatory matters, (xii) material adverse effect and (xiii) breach of material contracts.
In addition, we must maintain minimum net revenue levels tested quarterly. In the event of default under the MidCap Credit Agreement, we would be required to pay interest on principal and all other due and unpaid obligations at the current rate in effect plus 2%.
The MidCap Term Loans mature on May 1, 2027 and bear interest at a rate equal to 6.25% plus the greater of one-month Term SOFR (as defined in the MidCap Credit Agreement) or 1.0%. We are required to make 36 monthly interest payments beginning on June 1, 2022 (the “Interest-Only Period”). If we are in covenant compliance at the end of the Interest-Only Period, we will have the option to extend the Interest-Only Period by 12 months to 48 monthly interest payments, followed by 12 months of straight-line amortization, with the entire principal payment due at maturity. If we are not in covenant compliance at the end of the Interest-Only Period, we are required to make 24 months of straight-line amortization payments, with the entire principal amount due at maturity.
Subject to certain limitations, the MidCap Term Loans have a prepayment fee equal to 3.0% of the prepaid principal amount for the first year following the closing date of the MidCap Term Loans, 2.0% of the prepaid principal amount for