01 - Preheat the oven to 375°F.
02 - In a large bowl, combine the cream cheese, sour cream, and mayonnaise until smooth.
03 - Stir in the mozzarella, Parmesan, garlic, salt, black pepper, and red pepper flakes (if using).
04 - Add the chopped artichoke hearts and spinach, mixing until well combined.
05 - Transfer the mixture to a greased 1-quart baking dish and spread evenly.
06 - Bake for 25 minutes, or until hot and bubbly and the top is lightly golden.
07 - Serve warm with tortilla chips, crackers, or sliced baguette.