Provision for Income Taxes. The provision for income taxes decreased from $84,000 in the three months ended December 31, 2022 to $71,000 in the three months ended December 31, 2023 and decreased from $181,000 in the nine months ended December 31, 2022 to $155,000 in the nine months ended December 31, 2023.
Net Loss. Net loss was $4.8 million in the three months ended December 31, 2022 compared $6.6 million in the three months ended December 31, 2023 and was $12.0 million in the nine months ended December 31, 2022 compared to $15.8 million in the nine months ended December 31, 2023. These fluctuations were primarily due to the changes in net revenues, gross profit and operating expenses discussed above.
Liquidity and Capital Resources
As of December 31, 2023, our principal sources of liquidity were cash and cash equivalents of $21.6 million compared to cash, cash equivalents and short-term investments of $30.6 million as of March 31, 2023.
Net cash used in operating activities was $10.2 million for the nine months ended December 31, 2023 compared to $12.2 million for the nine months ended December 31, 2022. The primary uses of cash in the nine months ended December 31, 2023 were the net loss of $15.8 million and an increase in prepaid expenses and other assets of $663,000. The uses of cash in the nine months ended December 31, 2023 were less than the net loss due to non-cash items including stock-based compensation of $2.1 million and depreciation and amortization expenses of $718,000. The primary sources of cash in the nine months ended December 31, 2023 were decreases in accounts receivable of $1.1 million and inventories of $794,000 and an increase of $1.2 million in accrued expenses and other liabilities. The increase in accrued expenses and other liabilities included an accrual of $2.4 million for a pre-production mask set for our APU-2.
The primary uses of cash in the nine months ended December 31, 2022 were the net loss of $12.0 million, a reduction in accrued expenses and other liabilities of $2.2 million and an increase in inventories of $1.7 million. The uses of cash in the nine months ended December 31, 2022 were less than the net loss due to non-cash items including stock-based compensation of $2.0 million and depreciation and amortization expenses of $763,000. The primary sources of cash in the nine months ended December 31, 2022 were a decrease in accounts receivable of $891,000 and a lesser increase in accounts payable.
Net cash provided by investing activities was $2.8 million in the nine months ended December 31, 2023 compared to $6.7 million in the nine months ended December 31, 2022. Investment activities in the nine months ended December 31, 2023 primarily consisted of the maturity of certificates of deposit and agency bonds of $3.4 million, partially offset by the purchase property and equipment of $634,000. Investment activities in the nine months ended December 31, 2022 primarily consisted of the maturity of certificates of deposit and agency bonds of $7.0 million partially offset by the purchase property and equipment of $258,000.
Net cash provided by financing activities in the nine months ended December 31, 2023 consisted of the net proceeds from the sale of common stock pursuant to our employee stock plans of $1.6 million and proceeds from the sale of common stock pursuant to an At-the-Market offering of $153,000. Net cash provided by financing activities in the nine months ended December 31, 2022 consisted of the net proceeds from the sale of common stock pursuant to our employee stock plans of $402,000.
We believe that our existing balances of cash and cash equivalents, and cash flow expected to be generated from our future operations will be sufficient to meet our cash needs for working capital and capital expenditures for at least the next 12 months. Our future capital requirements will depend on many factors, including revenue growth, if any, that we experience, any additional manufacturing cost increases resulting from supply constraints and the continuation of the impact of higher interest rates and inflation may have on our business, the extent to which we utilize subcontractors, the levels of inventory and accounts receivable that we maintain, the timing and extent of spending to support our product development efforts and the expansion of our sales and marketing team. Additional capital may also be required for the consummation of any acquisition of businesses, products or technologies that we may undertake. On June 28, 2023, we filed a registration statement on Form S-3, which was declared effective by the SEC on July 19, 2023. On August 1, 2023, we commenced a registered securities offering pursuant to a Sales Agreement (the “Sales Agreement”) with Needham & Company, LLC (“Needham”). The Sales Agreement provides that we may offer and sell our common stock having an aggregate offering price of up to $25.0 million from time to