Jesus H tap-dancing Christ! I think I've cured it. If I'm right, it was the seat post in the seat tube. A dropper in this instance which was a bit of a pain to remove as I hadn't freed up enough Bowden cable to get it all the way out.
Seems OK now on a spin round the block. Expect more blasphemy if it returns.