David Miller
Analyst · the Craig-Hallum Capital
Thanks, Ronnie. Our full results on Form 10-Q will be filed with the SEC later today. Our first quarter revenue was a record $11.3 million compared to $9.5 million in the year ago period, an increase of $1.7 million or 18%. Excluding stock-based compensation and depreciation, we recognized a gain of $422,000 compared to a similar gain of $421,000 in the year ago period.
Focusing as we do on results, excluding noncash expenses such as stock comp and depreciation, our first quarter gross margin was 53% compared to 44% for the same period last year. Total cost of sales was $5.3 million compared to the same $5.3 million in our first quarter of last year. As we discussed on several prior calls, our quarterly gross margins were pressured because we outsourced some lab work, enabling us to accelerate our revenue growth. We have brought most but not all of that work internally. The reduction in outsourced costs more than offset increases in compensation, lab supply and rent expenses, resulting from the increase in study volume and our lab extension in Q4 of last year. The net result is a flat year-over-year cost of sales and with the growth in revenue and improvement in gross margin.
R&D expense was approximately $2.3 million compared to $1.6 million in the year ago period, an increase of $700,000 or 44%. The $2.3 million is generally in line with our guidance provided on our year-end call, will be indicated we will be ramping up our R&D investment, adding data to our tumor bank and investing in our therapeutic target discovery platform. It is worth noting that by increasing our investment in R&D, we're intentionally sacrificing short-term profitability for greater long-term revenue growth, profit and revenue potential.
Sales and marketing expense was $1.5 million compared to $1.2 million in the year ago period, an increase of $363,000 or 31%. The increase in sales and marketing was mainly due to compensation-related expenses resulting from the expansion of our sales team.
Our G&A expense was at $1.7 million for the quarter compared to $1.1 million a year ago, a 59% increase. The increase was primarily due to an increase in compensation and IT-related expenses.
In total, our cash-based expenses were $10.8 million for the first quarter of fiscal 2022 compared to $9.1 million in the same period last year, an increase of approximately $1.7 million or 19%, with $1 million stemming from increased investment in R&D and the expansion of our sales forces.
Now turning to cash. At the end of the first fiscal quarter, we had $4 million of cash on the balance sheet. For the period, net cash generated from operating activities was $216,000. Cash used in investing activities of $1 million was primarily due to the continued investment in our software platform along with fixed asset purchases for our laboratories, including the new European labs. We have no debt.
In summary, we hit a new record for quarterly revenue, surpassing $11 million for the first time. Excluding stock comp and depreciation, we generated an operating profit in excess of $400,000. We continue to see underlying strength in our research service business and increasing contribution from our software platform. We are excited about the direction of the company and look forward to our next update call in mid-December.
We would now like to open the call for your questions.