A compact and modular x- and gamma-ray detector with a CsI scintillator and double-readout Silicon Drift Detectors