An MSCL-Based Attenuator With Ultralow Insertion Loss and Intrinsic ESD-Protection for Millimeter-Wave and Terahertz Applications