How bacteria are inspiring the next generation of space-borne lasers