Energy resolution and sensitivity of a superconducting quantum detector