Start by braising the lentils: prepare carrots, onions and celery chopped. Let them soft in a Dutch oven with olive oil. Once soft, add the lentils, a bay leaves and broth. Let it simmer 20-25 until the lentils are soft but still compact. Add salt and pepper and set aside.
While the lentils are simmering, make the salsa verde. In a blender add all the ingredients except the oil. Pulse for a minute, then add slowly the olive oil, until you obtain a sauce still a bit grainy. It has nt to be completely creamy.
Now switch the oven at 350 F° and place in a baking dih covered with parchment paper the lemon and garlic, add the cod on top, add more lemon, garlic, thyme and a drizzle of olive oil, salt and Pepper. Bake in the oven for 15-20 minutes until the fish turns opaque.
Plate the dish starting from the lentils, then add the fish and the salsa verde on top.