01 - Preheat the oven to 400°F. Line a baking sheet with parchment paper.
02 - In a large mixing bowl, whisk together miso paste, soy sauce, grated ginger, minced garlic, maple syrup, rice vinegar, olive oil, toasted sesame oil, thyme leaves, and black pepper until smooth.
03 - Add tofu cubes to the marinade and gently toss to coat all pieces evenly. Allow to rest for at least 10 minutes, up to 30 minutes for enhanced flavor penetration.
04 - Evenly spread the marinated tofu on the prepared baking sheet. Sprinkle dried cranberries over the tofu cubes.
05 - Roast in the preheated oven for 25 to 30 minutes, turning the tofu halfway through cooking, until the edges are golden brown and slightly crisp.
06 - Transfer the roasted tofu to a serving platter. Garnish with fresh thyme leaves and optionally with thinly sliced spring onions. Serve immediately.