Spatial and spectral mode-selection effects in topological lasers with frequency-dependent gain