David Miller
Analyst · ROTH Capital
Thanks, Ronnie. Our full results on Form 10-Q will be filed with the SEC later today. Our second quarter revenue was a record $10.1 million compared to $7.6 million in the year ago period, a robust year-over-year increase of $2.5 million or 33%. Excluding stock-based compensation and depreciation, we recognized income of $401,000 compared to income of $545,000 in the year ago period.
Our noncash expenses, including stock comp and depreciation, totaled $393,000 for the quarter, resulting in GAAP income of $8,000. I will now focus on our results on a cash basis.
Our second quarter gross margin was 45%, down from the 49% in the same period last year. Cost of sales were $5.6 million in the quarter compared to $3.9 million last year, a year-over-year increase of $1.7 million or 44%. As we discussed on our previous call, we've partnered with other companies to expedite the expansion of our service offerings, specifically our ex vivo platform to continue to drive top line growth.
While these partnerships have enabled us to accelerate our revenue growth rate and meet customer demand, we have sacrificed some short-term margin. In these studies, we incur an upfront cost upon signing the business, and there was an initial mismatch between costs and revenue. This effect is magnified as we continue to sign new studies.
Additionally, this work is more costly than if we were to perform it in our own lab. For the quarter, we recognized a total of $1.4 million of such expenses, accounting for a majority of the increase in our cost of sales. This increased expense placed downward pressure on our gross margin. Our strategic plan is to bring this work in-house beginning in our fourth quarter. As we do, we expect to see a lift in margins as we look ahead to our fourth quarter and next fiscal year.
R&D expense was $1.6 million compared to $1.3 million in the year ago period, an increase of $300,000 or 23%. The increase is due to the continued development work to expand and enhance our product offerings, including a deeper characterization of our TumorBank to enhance our data platform.
Sales and marketing expense was $1.3 million compared to $950,000 last year, an increase of $348,000 or 37%. The increase in sales and marketing was mainly due to compensation-related expenses as we continue to invest in expanding our sales team and marketing efforts.
Our G&A expense increased to $1.2 million compared to $900,000 in the year ago period. As a percentage of revenue, our G&A expense remained flat at 12%, and we anticipate greater leverage in the coming quarters.
In total, our cash-based expenses were $9.7 million for the quarter of fiscal 2021 compared to $7.1 million in the same period last year, an increase of approximately $2.6 million consisting of a $1.7 million increase in cost of sales and approximately $300,000 in R&D, sales and marketing and G&A, respectively.
Now turning to cash. We ended the quarter with a balance in excess of $8.5 million compared to $2.8 million in the same period last year. For the quarter, net cash generated from operating activities was approximately $900,000. While there can be variability in cash from operations on a quarterly basis due to factors such as timing of receipts and disbursements in our working capital accounts, directionally, our anticipated revenue growth and underlying bookings strength should lead to an overall increase in our cash generated from operations over the coming quarters. Our balance sheet remains strong, and we have no debt.
In summary, it was a very successful financial quarter. We hit a new record for quarterly revenue coming in above $10 million. Excluding stock comp and depreciation, we had a net profit of $400,000. The underlying strength of our core business and new products look promising, and we anticipate additional revenue growth in the coming quarters.
Accordingly, we feel comfortable raising our revenue guidance for the full year to 20% to 25% above the 15% to 20% provided on our year-end call. We look forward to updating you on our progress in mid-March. We would now like to open the call for your questions.