The Very Group’s headquarters sold in near £40m deal