Selling, General and Administrative Expenses. Selling, general and administrative expenses increased by 4.4% from $2.8 million in the three months ended December 31, 2021 to $3.0 million in the three months ended December 31, 2022. This increase in expenses included an increase of $143,000 professional fees, partially offset by decreases of $57,000 in independent sales representatives’ commissions and $20,000 in payroll related expenses. Payroll related expenses included approximately $200,000 for severance payments made to terminated employees as a result of our cost cutting measures discussed above. Selling, general and administrative expenses included stock-based compensation expense of $266,000 and $273,000 for the three months ended December 31, 2021 and 2022, respectively. Selling, general and administrative expenses decreased by 7.0% from $8.7 million in the nine months ended December 31, 2021 to $8.1 million in the nine months ended December 31, 2022. This decline in expenses included a decrease of $845,000 in the value of contingent consideration in the nine months ended December 31, 2022 compared to an increase of $68,000 in the nine months ended December 31, 2021. The change in contingent consideration was partially offset by an increase of $287,000 in professional fees. Selling, general and administrative expenses included stock-based compensation expense of $783,000 and $722,000 for the nine months ended December 31, 2021 and 2022, respectively.
Interest Income and Other Expense, Net. Interest and other income, net increased by $46,000 from a net $15,000 in the three months ended December 31, 2021 to $61,000 in the three months ended December 31, 2022. Interest income increased by $98,000 primarily due to higher interest rates received on our cash and short-term and long-term investments. Foreign exchange losses were $5,000 for the three months ended December 31, 2021 compared to $57,000 for the three months ended December 31, 2022. Interest and other income, net increased by $114,000 from an expense of $13,000 in the nine months ended December 31, 2021 to income of $101,000 in the nine months ended December 31, 2022. Interest income increased by $135,000 primarily due to higher interest rates received on our cash and short-term and long-term investments. Foreign exchange losses were $73,000 for the nine months ended December 31, 2021 compared to $109,000 for the nine months ended December 31, 2022. The exchange losses in each period were related to our Taiwan branch operations and our operations in Israel.
Provision (benefit) for Income Taxes. The provision (benefit) for income taxes increased from $64,000 in the three months ended December 31, 2021 to $84,000 in the three months ended December 31, 2022 and increased from a benefit of ($66,000) in the nine months ended December 31, 2021 to a provision of $181,000 in the nine months ended December 31, 2022. The provision (benefit) for income taxes for the three months ended June 30, 2021 included a benefit of ($220,000) related to the approval by the Israel tax authorities of a “Preferred Company” tax rate that was retroactively applied to fiscal 2018 and subsequent fiscal years.
Net Loss. Net loss was $4.6 million in the three months ended December 31, 2021 compared $4.8 million in the three months ended December 31, 2022 and was $13.4 million in the nine months ended December 31, 2021 compared to $12.0 million in the nine months ended December 31, 2022. 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, 2022, our principal sources of liquidity were cash, cash equivalents and short-term investments of $35.2 million compared to $44.0 million as of March 31, 2022.
Net cash used in operating activities was $12.2 million for the nine months ended December 31, 2022 compared to $9.9 million for the nine months ended December 31, 2021. 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 reduction in accrued expenses and other liabilities was primarily related to the payment of fiscal 2022 year-end accruals for incentive compensation. 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 used in operating activities was $9.9 million for the nine months ended December 31, 2021 compared to $11.4 million for the nine months ended December 31, 2020. The primary uses of cash in the nine months ended December 31, 2021 was the net loss of $13.4 million and increases in prepaid expenses and other