Financial Condition, Liquidity and Capital Resources
Our liquidity and capital resources are generated primarily from the net proceeds of offerings of our securities, including our initial public offering, the Private Offerings and the Convertible Notes offering, borrowings under the Credit Facility and cash flows from our operations, including investment sales and repayments, as well as income earned on investments and cash equivalents. Our primary use of our funds includes investments in portfolio companies, payments of interest on our outstanding debt, and payments of fees and other operating expenses we incur. We also expect to use our funds to pay distributions to our stockholders. We have used, and expect to continue to use, our borrowings, including under the Credit Facility or any future credit facility, and proceeds from the turnover of our portfolio to finance our investment objectives and activities.
We may, from time to time, enter into additional credit facilities, increase the size of our existing Credit Facility, or issue additional securities in private or public offerings. Any such incurrence or issuance would be subject to prevailing market conditions, our liquidity requirements, contractual and regulatory restrictions, and other factors.
For the six months ended June 30, 2021, we experienced a net decrease in cash and cash equivalents in the amount of $26.6 million, which is the net result of $54.9 million of cash used in operating activities and $0.8 million of cash used in investing activities partially offset by $29.1 million of cash provided by financing activities. During the six months ended June 30, 2020, we experienced a net increase in cash and cash equivalents in the amount of $38.4 million, which is the net result of $142.3 million of cash provided by financing activities partially offset by $91.8 million of cash used in investing activities and $12.1 million of cash from operating activities.
As of June 30, 2021 and December 31, 2020, we had cash, cash equivalents and restricted cash of $34.5 million and $61.1 million, respectively, of which $34.1 and $60.3 million, respectively, is held in the Goldman Sachs Financial Square Government Institutional Fund. Cash held in demand deposit accounts may exceed the Federal Deposit Insurance Corporation (“FDIC”) insured limit and therefore is subject to credit risk. All of the Company’s cash deposits are held at large established high credit quality financial institutions, and management believes that the risk of loss associated with any uninsured balances is remote. As of June 30, 2021 and December 31, 2020, restricted cash consisted of approximately $15.3 million and $15.7 million, respectively, related to the Credit Facility covenants (See “Note 5 – Borrowings”), and an additional amount of approximately $0.7 million at December 31, 2020 was held in escrow related to the payout of a severance related liability assumed as part of the Formation Transactions with respect to a former member of certain general partners of certain Legacy Funds. As of June 30, 2021 and December 31, 2020, we had approximately $88.6 million and $42.0 million, respectively, of available borrowings under the Credit Facility, subject to its terms and regulatory requirements. Cash, cash equivalents and restricted cash, taken together with available borrowings under the Credit Facility, as of June 30, 2021, are expected to be sufficient for our investing activities and to conduct our operations in the near term.
On January 16, 2020, in connection with the Formation Transactions, we became a party to, and assumed, the Credit Facility through our wholly owned subsidiary, Trinity Funding 1, LLC. The Credit Facility matures on January 8, 2022, unless extended, and we have the ability to borrow up to an aggregate of $300.0 million. In addition, borrowings under the Credit Facility are subject to floating interest rates based on LIBOR, generally bearing interest at a rate of the three-month LIBOR plus 3.25%. We may utilize the leverage available under the Credit Facility to finance future investments. We used a portion of the proceeds from the Private Offerings to repay a portion of the aggregate amount outstanding under the Credit Facility in amount of approximately $60 million. As of June 30, 2021 and December 31, 2020, approximately $70.0 million and $135.0 million, respectively, was outstanding under the Credit Facility. During the three months ended June 30, 2021 we borrowed $25.0 million under the Credit Facility and made no repayments. During the six months ended June 30, 2021, the Company borrowed an additional $25.0 million and made repayments of $90.0 million to Credit Suisse. During the three and six months ended June 30, 2020, we made repayments of approximately $25.0 million and $85.0 million, respectively, to Credit Suisse with no additional borrowings.
In January 2020, we completed the Private Common Stock Offering in reliance upon the available exemptions from the registration requirements of the Securities Act, pursuant to which we issued and sold 8,333,333 shares of our common stock for aggregate gross proceeds of approximately $125.0 million. A portion of the proceeds of the Private