Spoiler vs Hide Details, what are the use cases for these options?

Personally, I use hide details when a large chunk of text (eg, logs and such) needs to be tucked away, and spoiler more for, well, spoilers or stuff that maybe has a trigger warning or soemthing.