Towards nanoscale resonant gas sensors