Mesoscopic Magnetic Resonance Spectroscopy with a Remote Spin Sensor