01 - Set the oven temperature to 375°F.
02 - Heat a splash of olive oil in a medium skillet over medium heat. Sauté the minced garlic for 30 seconds until fragrant. Add spinach and cook until wilted, approximately 2 minutes. Remove from heat and let cool slightly.
03 - In a large mixing bowl, blend cream cheese, sour cream, and mayonnaise until smooth.
04 - Fold the sautéed spinach, chopped artichoke hearts, shredded mozzarella, grated Parmesan, salt, black pepper, and red pepper flakes if using, into the creamy base.
05 - Spread the mixture evenly into a 1-quart baking dish.
06 - Bake for 20 to 25 minutes until the dip is hot, bubbling, and lightly golden on top.
07 - Serve warm accompanied by tortilla chips, sliced baguette, or vegetable sticks.