**Preheat the oven**
Preheat your oven to 375°F (190°C). Lightly grease an 8x8-inch baking dish or a similar oven-safe dish.
**Cook the spinach and garlic**
Heat olive oil in a skillet over medium heat. Add the minced garlic and sauté for 30 seconds until fragrant. Stir in the chopped spinach and cook until wilted, about 2–3 minutes. If using frozen spinach, skip this step and ensure it’s fully thawed and drained.
**Mix the creamy base**
In a large mixing bowl, combine softened cream cheese, sour cream, mayonnaise, mozzarella, Parmesan, salt, pepper, and red pepper flakes (if using). Stir until smooth and well combined.
**Add the vegetables**
Fold in the cooked spinach and chopped artichoke hearts until evenly distributed.
**Assemble the dip**
Transfer the mixture to the prepared baking dish and spread it out evenly. Sprinkle additional mozzarella cheese on top for a golden, melty finish.
**Bake**
Bake in the preheated oven for 20–25 minutes, or until the dip is hot and bubbly with a lightly golden top.
**Serve**
Remove from the oven and let cool for a few minutes. Serve warm with crackers, bread, tortilla chips, or fresh veggies.