Avalanche PhotoniQ detector