You know those cheap closed cell foam mats, the thin ones not the double layered ones ?
Those work well in a bag or rucksack to cushion a laptop I found. I think I paid three quid for one that I cut up. I used the rest to line a linen bag that carries my kelly kettle.