Preheat the oven to 350°F. Line the bottom and sides of a loaf pan with parchment paper.
Heat a large, high-sided skillet over medium heat. Add the onion, carrot, celery, and garlic and cook, stirring occasionally for 5 minutes, until the onion is translucent.
Turn off the heat. Add the lentils, quinoa, flour, flax egg, salt, sage, thyme, pepper, and liquid smoke. Mix well.
Press the mixture into the prepared pan.
In a small bowl whisk together the glaze ingredients.
Brush half the glaze mixture onto the top of the loaf.
Bake 60 for minutes, or until the internal temperature is 180°F.
Remove from the oven and brush the second half of the glaze on the top. Let cool at least 5 minutes before removing from the pan and slicing.