Formal/written.
失 = 'lose/miss',
当 = 'proper/appropriate', so literally 'missing the mark of propriety'. Common collocations:
处理失当 (handled improperly),
用人失当 (poor staffing decisions),
言行失当 (improper conduct). Compare
不当 (búdàng) — also 'inappropriate', similar register.