Moderna earnings beat Wall Street bets amid job cuts