Environmental sustainability of bark valorisation into biofoam and syngas