Prep the pan and oven: Preheat oven to 350°F (175°C). Grease and line an 8-inch round or square cake pan with parchment paper for easy release.
Make the mango puree: If using fresh mango, peel, pit, and blend the flesh until smooth.
Measure out 1 cup of puree. If using canned puree, give it a quick stir to loosen.
Mix dry ingredients: In a medium bowl, whisk flour, baking powder, baking soda, salt, and optional cardamom or cinnamon until combined.
Whisk wet ingredients: In a large bowl, whisk eggs, sugar, oil, yogurt, vanilla, and mango puree until smooth. It should look creamy and bright.
Combine: Add dry ingredients to the wet bowl.
Gently fold with a spatula until just combined. Stop when you no longer see dry flour. Avoid overmixing to keep the cake tender.
Pour and level: Scrape the batter into the prepared pan.
Smooth the top with a spatula for even baking.
Bake: Bake for 28–35 minutes, or until the top is set and a toothpick inserted in the center comes out mostly clean with a few moist crumbs.
Cool: Let the cake rest in the pan for 10 minutes, then lift it out using the parchment and place it on a wire rack to cool completely.
Glaze or dust: For a light glaze, stir yogurt, mango puree, and powdered sugar until smooth. Spread over the cooled cake. Or dust with powdered sugar and top with a few diced mango pieces.
Slice and serve: Cut into squares or wedges.
Serve plain for snacks or with a dollop of yogurt for dessert.