Synergistic insertion of two hydrophobic regions drives Sec-independent membrane protein assembly.