During the year ended December 29, 2018, operating activities used $24,767 of cash, primarily resulting from net loss of $48,275 and net cash used in changes in operating assets and liabilities of $9,262, partially offset by equity-based compensation expense of $13,112, depreciation and amortization of $4,678, debt amortization expense of $515, and warrant amortization expense of $5,347.
During the nine months ended September 30, 2021, operating activities used $2,973 of cash, primarily resulting from net loss of $92,190, gain on remeasurement of contingent consideration of $23,582, change in fair value of derivative liability of $6,760 and decrease in deferred taxes of $16,739, net of acquisitions, partially offset by depreciation and amortization of $33,801, equity-based compensation expense of $18,023, and net changes in operating assets and liabilities of $74,237. The net change in operating assets and liabilities was primarily due to an increase in accrued expenses and other current liabilities of $74,092, income taxes payable of $5,927, accounts payable of $4,183 and decrease in prepaid expenses and other assets of $5,316 as partially offset by an increase in inventory of $14,763.
During the nine months ended September 30, 2020, operating activities used $26,744 of cash, primarily resulting from net loss of $58,450, changes in deferred taxes of $15,097 and net changes in operating assets and liabilities of $11,011 that was partially offset by equity-based compensation expense of $23,131, depreciation and amortization of $12,194 and impairment on disposal group of $1,969.
Investing Activities
During the year ended December 31, 2020, investing activities used $27,322 of cash, consisting of purchases of property and equipment of $42,885 and cash paid for deposits of $5,688, partially offset by cash received from sale leasebacks of $11,927, acquisitions of $3,821 and deposits of $6,676.
During the year ended December 31, 2019, investing activities used $90,134 of cash, consisting of purchases of property and equipment of $77,445, the issuance of a note receivables of $17,420, cash for loans under the CannAscend and Corsa Verde agreements of $11,511 and cash paid for deposits of $6,623, partially offset by cash received from sale leasebacks of $19,614 and deposits of $3,697.
During the year ended December 29, 2018, investing activities used $14,646 of cash, consisting of purchases of property and equipment of $14,529, cash paid for deposits of $2,058, cash for loans under the CannAscend and Corsa Verde agreements of $1,002, cash paid in escrow and option deposit under Corsa Verde agreement of $3,124, partially offset by cash received from sale leasebacks of $131 and deposits of $5,936.
During the nine months ended September 30, 2021, investing activities used $135,913 of cash, consisting of cash paid for acquisitions of $44,268, purchases of property and equipment of $72,323, cash paid for other assets of $15,770.
During the nine months ended September 30, 2020, investing activities used $24,542 of cash primarily for purchases of property and equipment of $40,336 which was partially offset by proceeds from sale and lease back transaction of $12,385.
Financing Activities
During the year ended December 31, 2020, financing activities provided $89,994 of cash, consisting of $89,379 in gross proceeds received from issuance of debt as reduced by issuance costs of $3,548 and the sale of membership interest of a subsidiary of $5,509, partially offset by lease liability payments of $734.
During the year ended December 31, 2019, financing activities provided $158,861 of cash, consisting of $157,359 in proceeds received from the issuance of equity and proceeds from sale leasebacks of $5,709, repurchases of common shares of $2,414 and debt repayment of $1,795.
During the year ended December 29, 2018, financing activities provided $83,383 of cash, consisting of $101,922 in proceeds received from the issuance of equity and $9,440 in proceeds received from issuance of debt offset by $25,779 in repayment of debt.
During the nine months ended September 30, 2021, financing activities provided $184,183 of cash, consisting of $133,151 and $71,310 in net proceeds received from issuance of Common Shares and debt, respectively, partially offset by debt repayment of $9,550 and lease liability payments of $7,844.
During the nine months ended September 30, 2020, financing activities provided $59,703 of cash primarily from issuance of debt of $55,078.
153