Cash Flows
The following table summarizes our sources and uses of cash for each of the periods presented:
| | | | | | |
| | Six Months Ended |
| | June 30, |
| | 2022 | | 2021 |
Net cash (used in) provided by: | | | | | | |
Operating activities | | $ | (13,790,978) | | $ | (5,390,815) |
Investing activities | | | (26,757,741) | | | 1,913,888 |
Financing activities | | | 330,503 | | | 65,558,289 |
Net (decrease) increase in cash and cash equivalents | | $ | (40,218,216) | | $ | 62,081,362 |
Operating Activities
Net cash used in operating activities consisted of net losses adjusted for certain non-cash items and changes in operating assets and liabilities.
During the six months ended June 30, 2022, net cash used in operating activities was $13,790,978 and reflected (i) the net loss of $15,385,938, (ii) net non-cash usage items of $1,027,437, including $600,371 of stock-based compensation, $536,507 of depreciation and amortization expense, amortization of premium/discount on investments of $6,734 and $758 of loss on disposal of property and equipment, partially offset by non-cash interest income of $116,933, and (iii) a net cash outflow from changes in balances of operating assets and liabilities of $567,523.
During the six months ended June 30, 2021, net cash used in operating activities was $5,390,815 and reflected (i) the net loss of $4,137,176, (ii) net non-cash items of $2,164,149, including a gain on sale of equity investment of $1,983,912, paycheck protection program loan forgiveness of $518,050, and the change in fair value of embedded derivative of $246,962, partially offset by stock-based compensation of $239,330, an equity loss in affiliate of $223,633, amortization of discount on note of $62,638 and depreciation and amortization expense of $59,174 and (iii) a net cash inflow from changes in balances of operating assets and liabilities of $910,510.
Investing Activities
During the six months ended June 30, 2022, net cash used by investing activities was $26,757,741 and reflected purchase of investments of $26,026,125 and property and equipment purchases of $731,616.
During the six months ended June 30, 2021, net cash provided by investing activities was $1,913,888 and reflected proceeds from the sale of Reprise stock of $2,000,000, offset by property and equipment purchases of $86,112.
Financing Activities
During the six months ended June 30, 2022, net cash provided by financing activities was $330,503 and was primarily the result of proceeds from stock warrant exercises of $414,098 and proceeds from stock option exercises of $256,883; partially offset by payments on long-term debt of $295,450, payments on financing lease obligations of $26,488 and payments on offering costs of $18,540.
During the six months ended June 30, 2021, net cash provided by financing activities was $65,558,289 and was primarily the result of net proceeds from the IPO of $45,679,111, net proceeds from sales of Series C Preferred Stock of $19,891,670 and proceeds related to stock option and warrant exercises of $40,875, partially offset by payments on long-term debt of $44,109 and payments on financing lease obligations of $9,258.