They've been running with positive cash-flow even without the investments. Few employees and relatively low costs. Matt notes in his personal post that they are capital constrained for faster growth but not for operations, so it's not about running out of money but having more money now for current opportunities.
http://ma.tt/2014/05/new-funding-for-automattic/