Heat the oven to 350°F (177°C) and grease a 9 × 5-inch loaf pan with cooking spray.
Coarsely shred both vegetables and absorb surplus moisture with paper towels.
Whisk the flour, baking powder, cinnamon, and salt in the medium bowl.
Blend the sugar, yogurt, oil, and eggs in the larger bowl.
Stir in the flour mixture until incorporated, scraping the bowl as needed. Fold through the vegetables.
Fill the prepared pan with batter. Bake on the middle rack for about 60 minutes, or until a toothpick inserted into the center comes out clean.
Cool in the pan on a rack for 5 minutes. Carefully unmold and finish cooling on the rack before slicing.