For the nine months ended September 30, 2021, net cash used for operating activities was approximately $22.7 million, primarily from our net loss of $46.5 million, offset by other non-cash reconciling items of $14.0 million related to depreciation and amortization, stock based compensation, non-cash operating lease cost, amortization of debt issuance costs and debt discount, interest on the Scilex Pharma Notes, net loss on debt extinguishment, and a net loss on derivative liabilities, and changes in operating assets and liabilities of $9.8 million.
Cash Flows from Investing Activities
For the year ended December 31, 2021, no cash was used for investing activities.
For the year ended December 31, 2020, net cash used for investing activities was approximately $25.0 thousand, attributed to property and equipment purchases.
For the year ended December 31, 2019, net cash used for investing activities was approximately $17.6 million, primarily attributed to approximately $17.0 million of cash paid for the acquisition of Semnur-related IPR&D expenses and $0.6 million of property and equipment purchases.
For the nine months ended September 30, 2022, net cash used for investing activities was approximately $2.1 million attributed to cash paid for the acquisition of GLOPERBA licenses from Romeg and $7.0 thousand attributed to cash paid for property, plant, and equipment.
For the nine months ended September 30, 2021, no cash was used for investing activities.
Cash Flows from Financing Activities
For the year ended December 31, 2021, net cash provided by financing activities was approximately $28.2 million and was primarily related to $47.9 million in proceeds from related party payables, $47.8 million in proceeds from the CNH Revolving Loan, $14.7 million in proceeds from related party note payable with Sorrento, and offset by $48.8 million repayment of the CNH Revolving Loan and $33.4 million repayment of the Scilex Pharma Notes.
For the year ended December 31, 2020, net cash used by financing activities was approximately $19.2 million and is primarily related to $58.9 million repayment of the Scilex Pharma Notes, offset by $18.4 million in proceeds from related party payables, $11.0 million in proceeds from other loans, and $10.3 million in proceeds from related party notes.
For the year ended December 31, 2019, net cash provided by financing activities was approximately $15.8 million and is primarily related to $16.6 million of related party note proceeds, which were utilized to finance the acquisition of Semnur, plus $5.0 million of promissory note proceeds offset by repayment of the related party note payable of $3.5 million and $2.3 million repayment of the Scilex Pharma Notes.
For the nine months ended September 30, 2022, net cash provided by financing activities was approximately $20.7 million and is primarily related to $51.9 million in proceeds from related party payables, $62.5 million in proceeds from related party note payables, $9.9 million in proceeds from the CNH Revolving loan, $96.0 thousand in proceeds from the exercise of stock options, offset by $18.8 million repayment on CNH Revolving Loan and $84.8 million repayment of the Scilex Pharma Notes.
18