Cash Used in Operating Activities
During the six months ended June 30, 2023, net cash used in operating activities of $19.0 million resulted from our net comprehensive loss of $24.7 million adjusted by the amortization of debt discounts and debt issuance costs of $4.4 million, stock-based compensation of $1.0 million, depreciation and amortization expenses of $1.0 million, change in fair value of financial instrument and hybrid instrument designated at FVO of $1.1 million, amortization of operating lease right-of-use asset of $165,000, shares issued in exchange of services of $166,000, equity in net loss in joint venture of $37,000 and changes in operating assets and liabilities of $2.2 million.
During the six months ended June 30, 2022, net cash used in operating activities of $18.2 million resulted from our net loss of $27.6 million adjusted by the amortization of debt discounts and debt issuance costs of $6.3 million, loss on extinguishment of debt of $2.2 million, stock-based compensation of $2.2 million, depreciation and amortization expenses of $984,000, change in fair value of financial instrument and hybrid instrument designated at FVO of $477,000, amortization of operating lease right-of-use asset of $119,000, shares issued upon exercise of RSUs of 95,000, shares issued in exchange of services of $19,000, and changes in operating assets and liabilities of $1.9 million.
Cash Used in Investing Activities
During the six months ended June 30, 2023, cash used in investing activities is zero.
During the six months ended June 30, 2022, cash used in investing activities of $1.3 million consisted of cash used to purchase intangible assets and property and equipment.
Cash Provided by Financing Activities
During the six months ended June 30, 2023, net cash provided by financing activities of $22.2 million consisted of $19.4 million in net proceeds from shares issued in an At the Market offering, $1.2 million net proceeds from issuance of warrants in PIPE financing, $611,000 net proceeds from issuance of preferred shares in PIPE financing and non-controlling interest of $1.2 million, offset by $293,000 repayment of insurance financing, and $50,000 in principal payments of the notes payable.
During the six months ended June 30, 2022, net cash provided by financing activities of $11.4 million consisted of $11.6 million in net proceeds from shares issued in an At the Market offering, offset by $120,000 repayment of insurance financing, and $50,000 in principal payments of the notes payable.
Item 3. Quantitative and Qualitative Disclosures About Market Risk
Not applicable.
Item 4. Controls and Procedures
Disclosure Controls and Procedures
Our management, Chief Executive Officer and Principal Financial and Accounting Officer, evaluated the effectiveness of our disclosure controls and procedures as of June 30, 2023. The term "disclosure controls and procedures," as defined in Rules 13a-15(e) and 15d-15(e) under the Exchange Act, means controls and other procedures of a company that are designed to ensure that information required to be disclosed by us in the reports that we file or submit under the Exchange Act is recorded, processed, summarized and reported within the time periods specified in the SEC's rules and forms.
Disclosure controls and procedures include, without limitation, controls and procedures designed to ensure that information required to be disclosed by us in the reports that we file or submit under the Exchange Act is accumulated and communicated to our management, including our Chief Executive Officer and Principal Financial and Accounting