Russell Clark
Analyst · Tom McCrohan with Janney
Thanks, Jim, and good afternoon, everyone. As I review the numbers, all figures quoted are on a GAAP basis unless specifically noted as non-GAAP. We provide a full reconciliation from GAAP to non-GAAP, along with the earnings release on our website.
For the second quarter of fiscal 2012, revenue totaled $1.2 million compared to total revenue of $2.9 million for the year-ago period. Of that total, approximately $612,000 was software and $580,000 was maintenance and professional services. As Jim discussed, the decrease in total revenues was due to fewer licenses signed during the second quarter.
Cost of revenue in Q2 was $310,000 and about evenly split between the software and maintenance and PS categories. This compares to $256,000 in the year-ago period.
Gross margin for Q2 was 74% compared to 91% in the year ago period. The decrease in gross margin in Q2 was primarily due to the lower volumes of software sales. Total operating expenses were $3.8 million compared to $2.3 million in the year ago period.
Now let me break down the expenses by category. Selling and marketing expenses were $721,000 in Q2 compared to $565,000 in the year ago period. R&D expenses were $1.7 million in Q2, compared to $643,000 in the year ago period. The year-over-year increase in R&D expenses reflects our continued investment in developing innovative new products and making in roads into new market segments. G&A expenses were $1.3 million in Q2 compared to $834,000 in the year ago period.
Our headcount at the end of Q2 was 49 compared to 24 a year ago. Our hiring has been primarily focused in the R&D area.
GAAP net loss was $2.8 million or $0.11 per share in the second quarter. This compares to a net income of $570,000 or $0.02 per share in the year ago period. Non-GAAP net loss was $2.2 million or $0.09 per share compared to a net income of $865,000 or $0.04 per share in the year ago period. Non-GAAP net income excludes stock-based compensation expense and noncash interest and amortization expense related to convertible debt.
Stock-based compensation expense in Q2 was $651,000 compared to $296,000 in the year ago period. Our share count for Q2 was $25 million basic and fully diluted shares.
Turning now to the balance sheet. As of March 31, 2012, we had cash, cash equivalents and investments of $17.4 million compared to $16.3 million at September 30, 2011. Accounts receivable was $1.5 million as of the end of Q2, versus $3 million at September 30, 2011.
That concludes our prepared remarks. Operator, please open the line for questions.