Mayer had been with the casual-dining burger chain for almost two years. No reason was given for his departure.