To remove Header Cart icon in Squarespace, you can follow these
#1. First, edit Site Header
#2. Click Add Elements
#3. Disable this option
#4. In case you want to disable Cart icon on Cart Page only, you can use this code to Custom CSS box
body#cart a.cart-style-icon {
display: none !important;
}