I thought detainment was a lighter kind of arrest. Seems that I’m wrong and they are distinct concepts (I’m not too familiar with the English terminology here, my bad)
When someone is detained, they're just a person of interest wanted for questioning. When they're arrested, it's because they've actually been charged for something.