Start by slicing your onions as thinly as possible so they cook evenly and soften properly. Heat olive oil in a large skillet over medium heat, then add the onions, salt, and sugar. Stir gently to coat everything well.
Cook the onions slowly, stirring occasionally, for about 20–25 minutes until they turn golden brown and soft. Lower the heat if they start burning, as slow cooking is key to bringing out their natural sweetness.
While the onions are cooking, preheat your oven to 400°F (200°C). Place your flatbread or naan on a baking sheet and lightly brush it with olive oil for extra crispiness.
Spread the caramelized onions evenly over the flatbread, then sprinkle crumbled goat cheese and shredded mozzarella on top. Add fresh thyme leaves for a burst of aroma and flavor.
Place the assembled flatbread in the oven and bake for about 10–12 minutes, or until the cheese is melted and bubbly. The edges should turn slightly crisp and golden.
Remove from the oven and drizzle balsamic glaze over the top. If you like, add fresh arugula for a peppery contrast and slice before serving.