including the severity of the offense and the defendant’s flight risk. If the defendant appears for all court hearings as required