In a medium bowl, whisk together the flour, baking soda, baking powder, ground cinnamon, cardamom and salt. In the bowl of a stand-up mixer, with the paddle attachment, add the butter and sugars; beat until light and fluffy, about 3 minutes. Add the eggs and beat until incorporated. Next, add the yogurt and vanilla. Add the dry ingredients, in two batches, until barely combined.