I suppose, theoretically, the vent pipe can be as long as you want it. After all, it does just that, ie "vent". However, it must not be too short as, instead of circulating water, through the heating circuit, the pump would tend to "pump over" into the expansion tank. I cannot see that a couple of bends should affect it's function and it's ability to operate safely unless, of course, they are tight, ie, elbows, which would affect it's safe operation. When I installed my highest radiator, into the loft conversion, I experimented with the circulating pump settings, ie, turned the pump up to a high setting so that it did pump over into the expansion tank, and then reduced it's "head" to just give a good "head" for supplying the highest radiator. If you can get the expansion tank as high as possible, above the new radiator, so much the better. My system has worked well for a number of years, with the vent pipe, from the bathroom airing cupboard sited cylinder, extended up to the expansion tank,at a high point in the loft conversion above it.
These comments are from a DIYer and, hopefully, others will comment with more advice.