Under the IRC (International Residential Code) & UPC (Universal Residential Code) you cannot have a horizontal plumbing vent section (in case you use 90° elbow) if it is less than 6 inches above the rim / top edge of the sink; 45° elbows are permitted. I’m assuming the light fixture is much higher than that so either one of those elbows (90° & 45°) can be used.
There’s another restriction for a horizontal vent (UPC) that depends on its length. If you use 90° elbows and the combined length of the horizontal sections of your offset is more than 3', the vent size would need to be increased another nominal size. This rule doesn’t apply to 45° elbows so you can safely re-route the vent using them above and below the sink’s rim.