Surveying the Whirlpool at Arcseconds with NOEMA (SWAN). III. ¹3CO/C¹8O ratio variations across the M51 galaxy | Synapse